#12020E#12020E

#12020E is a very dark, muted pink. Relative luminance 0.002; OKLCH L 13.3% C 0.044 H 336.8°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#12020E
RGBrgb(18, 2, 14)
HSLhsl(315, 80%, 4%)
HSVhsv(315, 89%, 7%)
CMYKcmyk(0%, 88.9%, 22.2%, 92.9%)
CIE-LABlab(1.84, 6.42, -3.07)
CIE-LCHlch(1.84, 7.11, 334.46°)
OKLaboklab(13.26% 0.0407 -0.0174)
OKLCHoklch(13.26% 0.044 336.8)
XYZxyz(0.3504, 0.2038, 0.4363)
Luminance0.0020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12020E #021206
analogous
#0E0212 #12020E #120206
triadic
#12020E #0E1202 #020E12
tetradic
#12020E #120E02 #021206 #020612
square
#12020E #120E02 #021206 #020612
split-complementary
#12020E #061202 #02120E
monochromatic
#1C0315 #1C0315 #1C0315 #490839 #800E64

Accessibility & contrast

On white

20.18
#12020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#12020E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12020E
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12020E#FFFFFF#000000##FFFFFF
##12020E1.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02050E
Deuteranopia (green-blind)
#06080E
Tritanopia (blue-blind)
#140206
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #12020e;
/* rgb */ color: rgb(18, 2, 14);
/* oklch */ color: oklch(13.3% 0.044 336.8);
Tailwind
colors: {
  custom: {
    50: '#4f474d',
    500: '#12020e',
    950: '#000000',
  },
}
SCSS
$custom: #12020e;
$custom-light: #4f474d;
$custom-dark: #000000;
JSON
{
  "hex": "#12020e",
  "rgb": {
    "r": 18,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 315,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.13258,
    "c": 0.04424,
    "h": 336.8
  },
  "luminance": 0.00204
}

Semantic roles & 50–950 ramp

primary
#12020E
secondary
#195728
accent
#F66331
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #12020E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#12020E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva