Skip to main content
Best Web Developer — web design, development and digital growth agency
Language and currency EN £ GBP

Language

  • EN English English
  • AR العربية Arabic
  • ES Español Spanish
  • AF Afrikaans Afrikaans Soon
  • AZ azərbaycan Azerbaijani Soon
  • BG български Bulgarian Soon
  • BN বাংলা Bangla Soon
  • CA català Catalan Soon
  • CS čeština Czech Soon
  • DA dansk Danish Soon
  • DE Deutsch German Soon
  • EL Ελληνικά Greek Soon
  • ET eesti Estonian Soon
  • FA فارسی Persian Soon
  • FI suomi Finnish Soon
  • FR Français French Soon
  • GA Gaeilge Irish Soon
  • GU ગુજરાતી Gujarati Soon
  • HE עברית Hebrew Soon
  • HI हिन्दी Hindi Soon
  • HR hrvatski Croatian Soon
  • HU magyar Hungarian Soon
  • ID Indonesia Indonesian Soon
  • IS íslenska Icelandic Soon
  • IT Italiano Italian Soon
  • JA 日本語 Japanese Soon
  • KN ಕನ್ನಡ Kannada Soon
  • KO 한국어 Korean Soon
  • KU کوردی Kurdish (Sorani) Soon
  • LT lietuvių Lithuanian Soon
  • LV latviešu Latvian Soon
  • ML മലയാളം Malayalam Soon
  • MR मराठी Marathi Soon
  • MS Melayu Malay Soon
  • NB norsk bokmål Norwegian Bokmål Soon
  • NL Nederlands Dutch Soon
  • PL polski Polish Soon
  • PS پښتو Pashto Soon
  • PT Português Portuguese Soon
  • PT-BR português (Brasil) Portuguese (Brazil) Soon
  • RO română Romanian Soon
  • RU русский Russian Soon
  • SD سنڌي Sindhi Soon
  • SK slovenčina Slovak Soon
  • SL slovenščina Slovenian Soon
  • SQ shqip Albanian Soon
  • SR српски Serbian Soon
  • SV svenska Swedish Soon
  • SW Kiswahili Swahili Soon
  • TA தமிழ் Tamil Soon
  • TE తెలుగు Telugu Soon
  • TH ไทย Thai Soon
  • TL Filipino Filipino Soon
  • TR Türkçe Turkish Soon
  • UK українська Ukrainian Soon
  • UR اردو Urdu Soon
  • VI Tiếng Việt Vietnamese Soon
  • YI ייִדיש Yiddish Soon
  • ZH 简体中文 Chinese (Simplified) Soon
  • ZH-TW 繁體中文 Chinese (Traditional) Soon
  • AB Аԥсшәа Abkhazian Soon
  • ADY Adyghe Adyghe Soon
  • AK Akan Akan Soon
  • AM አማርኛ Amharic Soon
  • AS অসমীয়া Assamese Soon
  • AST asturianu Asturian Soon
  • AV Avaric Avaric Soon
  • AY Aymara Aymara Soon
  • AZ-ARAB آذربایجان تۆرکجه‌سی (عربجه) Azerbaijani (Arabic) Soon
  • AZ-CYRL азәрбајҹан (Кирил) Azerbaijani (Cyrillic) Soon
  • BA башҡорт теле Bashkir Soon
  • BE беларуская Belarusian Soon
  • BI Bislama Bislama Soon
  • BJT bjt bjt Soon
  • BO བོད་སྐད་ Tibetan Soon
  • BS bosanski Bosnian Soon
  • BS-CYRL босански (ћирилица) Bosnian (Cyrillic) Soon
  • BSC bsc bsc Soon
  • BUA Buriat Buriat Soon
  • CAA caa caa Soon
  • CAK cak cak Soon
  • CE нохчийн Chechen Soon
  • CEB Cebuano Cebuano Soon
  • CH Chamorro Chamorro Soon
  • CHP Chipewyan Chipewyan Soon
  • CKB کوردیی ناوەندی Central Kurdish Soon
  • CRK Plains Cree Plains Cree Soon
  • CSB Kashubian Kashubian Soon
  • CY Cymraeg Welsh Soon
  • DEN Slave Slave Soon
  • DGR Dogrib Dogrib Soon
  • DV ދިވެހިބަސް Divehi Soon
  • DYO joola Jola-Fonyi Soon
  • DZ རྫོང་ཁ Dzongkha Soon
  • EE eʋegbe Ewe Soon
  • EU euskara Basque Soon
  • FF Pulaar Fula Soon
  • FIL Filipino Filipino Soon
  • FJ Fijian Fijian Soon
  • FO føroyskt Faroese Soon
  • FRR Nordfriisk Northern Frisian Soon
  • FY Frysk Western Frisian Soon
  • GAA Gã Ga Soon
  • GD Gàidhlig Scottish Gaelic Soon
  • GIL Gilbertese Gilbertese Soon
  • GL galego Galician Soon
  • GN avañe’ẽ Guarani Soon
  • GSW Schwiizertüütsch Swiss German Soon
  • GV Gaelg Manx Soon
  • GWI Gwichʼin Gwichʼin Soon
  • HAK-HANT Hakka Chinese Hakka Chinese Soon
  • HAW ʻŌlelo Hawaiʻi Hawaiian Soon
  • HIF Fiji Hindi Fiji Hindi Soon
  • HIL Hiligaynon Hiligaynon Soon
  • HO Hiri Motu Hiri Motu Soon
  • HT Haitian Creole Haitian Creole Soon
  • HY հայերեն Armenian Soon
  • ILO Iloko Iloko Soon
  • INH Ingush Ingush Soon
  • IU ᐃᓄᒃᑎᑐᑦ Inuktitut Soon
  • IU-LATN Inuktitut (Latin) Inuktitut (Latin) Soon
  • IXL ixl ixl Soon
  • KA ქართული Georgian Soon
  • KBD Kabardian Kabardian Soon
  • KG Kongo Kongo Soon
  • KHA Khasi Khasi Soon
  • KK қазақ тілі Kazakh Soon
  • KL kalaallisut Kalaallisut Soon
  • KM ខ្មែរ Khmer Soon
  • KNF knf knf Soon
  • KOI Komi-Permyak Komi-Permyak Soon
  • KOK कोंकणी Konkani Soon
  • KRC Karachay-Balkar Karachay-Balkar Soon
  • KS کٲشُر Kashmiri Soon
  • KUM Kumyk Kumyk Soon
  • KV Komi Komi Soon
  • KY кыргызча Kyrgyz Soon
  • LB Lëtzebuergesch Luxembourgish Soon
  • LBE lbe lbe Soon
  • LEZ Lezghian Lezghian Soon
  • LN lingála Lingala Soon
  • LO ລາວ Lao Soon
  • LUA Luba-Lulua Luba-Lulua Soon
  • MAI मैथिली Maithili Soon
  • MDF мокшень кяль Moksha Soon
  • MDH mdh mdh Soon
  • MEY-LATN mey-Latn mey-Latn Soon
  • MFV mfv mfv Soon
  • MG Malagasy Malagasy Soon
  • MH Marshallese Marshallese Soon
  • MI Māori Māori Soon
  • MK македонски Macedonian Soon
  • MN монгол Mongolian Soon
  • MN-MONG Mongolian (Mongolian) Mongolian (Mongolian) Soon
  • MS-ARAB بهاس ملايو (عرب) Malay (Arabic) Soon
  • MT Malti Maltese Soon
  • MY မြန်မာ Burmese Soon
  • MYV эрзянь кель Erzya Soon
  • NA Nauru Nauru Soon
  • NAN-HANT Min Nan Chinese Min Nan Chinese Soon
  • ND isiNdebele North Ndebele Soon
  • NE नेपाली Nepali Soon
  • NIU Niuean Niuean Soon
  • NN norsk nynorsk Norwegian Nynorsk Soon
  • NO norsk Norwegian Soon
  • NR isiNdebele South Ndebele Soon
  • NSO Sesotho sa Leboa Northern Sotho Soon
  • NY Nyanja Nyanja Soon
  • OC occitan Occitan Soon
  • OR ଓଡ଼ିଆ Odia Soon
  • OS ирон Ossetic Soon
  • PA ਪੰਜਾਬੀ Punjabi Soon
  • PAG Pangasinan Pangasinan Soon
  • PAP Papiamentu Papiamento Soon
  • PAU Palauan Palauan Soon
  • PT-PT português (Portugal) Portuguese (Portugal) Soon
  • QU Runasimi Quechua Soon
  • QUC Kʼicheʼ Kʼicheʼ Soon
  • QUV quv Sacapulteco Soon
  • RM rumantsch Romansh Soon
  • RN Ikirundi Rundi Soon
  • RW Ikinyarwanda Kinyarwanda Soon
  • SA संस्कृत भाषा Sanskrit Soon
  • SAH саха тыла Yakut Soon
  • SAT ᱥᱟᱱᱛᱟᱲᱤ Santali Soon
  • SAV sav sav Soon
  • SD-DEVA सिन्धी (देवनागिरी) Sindhi (Devanagari) Soon
  • SE davvisámegiella Northern Sami Soon
  • SG Sängö Sango Soon
  • SI සිංහල Sinhala Soon
  • SM Samoan Samoan Soon
  • SMS sääʹmǩiõll Skolt Sami Soon
  • SN chiShona Shona Soon
  • SNF snf Noon Soon
  • SO Soomaali Somali Soon
  • SR-CYRL српски (ћирилица) Serbian (Cyrillic) Soon
  • SR-LATN srpski (latinica) Serbian (Latin) Soon
  • SRR Serer Serer Soon
  • SS siSwati Swati Soon
  • ST Sesotho Southern Sotho Soon
  • TET Tetum Tetum Soon
  • TG тоҷикӣ Tajik Soon
  • TI ትግርኛ Tigrinya Soon
  • TK türkmen dili Turkmen Soon
  • TKL Tokelau Tokelau Soon
  • TN Setswana Tswana Soon
  • TNR tnr tnr Soon
  • TO lea fakatonga Tongan Soon
  • TPI Tok Pisin Tok Pisin Soon
  • TS Xitsonga Tsonga Soon
  • TSG tsg tsg Soon
  • TT татар Tatar Soon
  • TVL Tuvalu Tuvalu Soon
  • TY Tahitian Tahitian Soon
  • TYV Tuvinian Tuvinian Soon
  • TZM Tamaziɣt n laṭlaṣ Central Atlas Tamazight Soon
  • UDM Udmurt Udmurt Soon
  • UG ئۇيغۇرچە Uyghur Soon
  • USP usp usp Soon
  • UZ o‘zbek Uzbek Soon
  • UZ-ARAB اوزبیک (عربی) Uzbek (Arabic) Soon
  • UZ-CYRL ўзбекча (Кирил) Uzbek (Cyrillic) Soon
  • VE Tshivenḓa Venda Soon
  • VEC veneto Venetian Soon
  • WAR Waray Waray Soon
  • WNI wni wni Soon
  • WO Wolof Wolof Soon
  • XH IsiXhosa Xhosa Soon
  • XIN xin xin Soon
  • YO Èdè Yorùbá Yoruba Soon
  • YUE 粵語 Cantonese Soon
  • ZA Vahcuengh Zhuang Soon
  • ZDJ zdj zdj Soon
  • ZH-HANS 中文 (简体) Chinese (Simplified) Soon
  • ZH-HANT 中文 (繁體) Chinese (Traditional) Soon
  • ZU isiZulu Zulu Soon

Currency

Prices on this site are shown in the currency you choose.

Developer Tools

Colour Converter and Contrast Checker

Includes the contrast ratios that decide whether text on that colour is readable.

  • Runs in your browser
  • Nothing uploaded

The tool

Enter a hex value or an RGB colour.

Everything you enter stays on your own machine. Nothing is sent to us or to anyone else, which you can confirm in your browser network tab.

What people use it for

  • Deciding whether to put white or black text on a brand colour
  • Converting a hex value from a design file into HSL to build a ramp
  • Checking a colour meets WCAG AA before using it for body text
  • Translating a colour between a design tool and CSS
  • Understanding why one colour looks brighter than another

About this tool

Three ways of saying the same thing

Hex stays compact and remains the usual form in CSS. RGB gives the same numbers in decimal, which suits adjusting by hand. HSL describes hue, saturation and lightness, which is far more useful when building a colour ramp, because you can hold the hue and vary the lightness.

Contrast, and why it is here

The contrast ratio decides whether anyone can read text on a background. WCAG AA asks for at least 4.5 to 1 for body text and 3 to 1 for large text. This tool reports the ratio against pure white and pure black, which tells you immediately which text colour to use on a given background.

Poor contrast remains one of the most common accessibility problems, and one of the easiest to avoid at design time rather than fix afterwards.

Relative luminance

The luminance figure is the value the contrast formula is built on. It is not simple brightness: the calculation weights green far more heavily than blue, because human vision does. That is why two colours that look equally dark can behave very differently behind text.

Need this handled across a whole website? See our UI UX Design Services page.

Questions

Questions about this tool

The things clients actually want to know — costs, timelines, ownership and what happens after launch.

WCAG AA asks for 4.5 to 1 for body text and 3 to 1 for large text. AAA asks for 7 to 1.

Because you can hold the hue and change only lightness, which is how a consistent colour ramp is built.

It reports against white and black, which answers the common question of which text colour to use.

Screens vary in calibration and colour profile. The values are exact; the display of them is not.

Three or six digit hex, with or without the hash, and rgb() notation.

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
info@bestwebdeveloper.org

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
info@bestwebdeveloper.org
Free consultation