#120408#120408

#120408 is a very dark, muted pink. Relative luminance 0.002; OKLCH L 13.6% C 0.030 H 359.7°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#120408
RGBrgb(18, 4, 8)
HSLhsl(343, 64%, 4%)
HSVhsv(343, 78%, 7%)
CMYKcmyk(0%, 77.8%, 55.6%, 92.9%)
CIE-LABlab(2.10, 4.72, -0.05)
CIE-LCHlch(2.10, 4.72, 359.44°)
OKLaboklab(13.65% 0.0302 -0.0002)
OKLCHoklch(13.65% 0.03 359.7)
XYZxyz(0.3367, 0.2330, 0.2569)
Luminance0.0023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120408 #04120E
analogous
#12040F #120408 #120704
triadic
#120408 #081204 #040812
tetradic
#120408 #0F1204 #04120E #070412
square
#120408 #0F1204 #04120E #070412
split-complementary
#120408 #041207 #040F12
monochromatic
#19060B #19060B #19060B #440F1E #761A35

Accessibility & contrast

On white

20.06
#120408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#120408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120408
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120408#FFFFFF#000000##FFFFFF
##1204081.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060608
Deuteranopia (green-blind)
#090908
Tritanopia (blue-blind)
#140305
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #120408;
/* rgb */ color: rgb(18, 4, 8);
/* oklch */ color: oklch(13.6% 0.030 359.7);
Tailwind
colors: {
  custom: {
    50: '#4f484a',
    500: '#120408',
    950: '#000000',
  },
}
SCSS
$custom: #120408;
$custom-light: #4f484a;
$custom-dark: #000000;
JSON
{
  "hex": "#120408",
  "rgb": {
    "r": 18,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 342.857,
    "s": 63.636,
    "l": 4.314
  },
  "oklch": {
    "l": 0.13649,
    "c": 0.0302,
    "h": 359.7
  },
  "luminance": 0.00233
}

Semantic roles & 50–950 ramp

primary
#120408
secondary
#205244
accent
#E7B741
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #120408

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

Preview Lab → · Contrast checker → · Palette generator →

#120408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva