#18020E#18020E

#18020E is a very dark, muted pink. Relative luminance 0.003; OKLCH L 14.6% C 0.050 H 347.6°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#18020E
RGBrgb(24, 2, 14)
HSLhsl(327, 85%, 5%)
HSVhsv(327, 92%, 9%)
CMYKcmyk(0%, 91.7%, 41.7%, 90.6%)
CIE-LABlab(2.43, 9.08, -2.13)
CIE-LCHlch(2.43, 9.33, 346.80°)
OKLaboklab(14.58% 0.0489 -0.0108)
OKLCHoklch(14.58% 0.05 347.6)
XYZxyz(0.4777, 0.2694, 0.4422)
Luminance0.0027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18020E #02180C
analogous
#170218 #18020E #180203
triadic
#18020E #0E1802 #020E18
tetradic
#18020E #181702 #02180C #020318
square
#18020E #181702 #02180C #020318
split-complementary
#18020E #031802 #021817
monochromatic
#1C0210 #1C0210 #1C0210 #50072F #890B50

Accessibility & contrast

On white

19.93
#18020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#18020E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18020E
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18020E#FFFFFF#000000##FFFFFF
##18020E1.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060E
Deuteranopia (green-blind)
#090A0D
Tritanopia (blue-blind)
#1A0206
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #18020e;
/* rgb */ color: rgb(24, 2, 14);
/* oklch */ color: oklch(14.6% 0.050 347.6);
Tailwind
colors: {
  custom: {
    50: '#54474d',
    500: '#18020e',
    950: '#000000',
  },
}
SCSS
$custom: #18020e;
$custom-light: #54474d;
$custom-dark: #000000;
JSON
{
  "hex": "#18020e",
  "rgb": {
    "r": 24,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 327.273,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.14576,
    "c": 0.05008,
    "h": 347.6
  },
  "luminance": 0.00269
}

Semantic roles & 50–950 ramp

primary
#18020E
secondary
#185E38
accent
#FB8B2D
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #18020E

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

Preview Lab → · Contrast checker → · Palette generator →

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