#18040A#18040A

#18040A is a very dark, muted pink. Relative luminance 0.003; OKLCH L 15.0% C 0.040 H 1.2°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#18040A
RGBrgb(24, 4, 10)
HSLhsl(342, 71%, 5%)
HSVhsv(342, 83%, 9%)
CMYKcmyk(0%, 83.3%, 58.3%, 90.6%)
CIE-LABlab(2.74, 7.66, 0.13)
CIE-LCHlch(2.74, 7.66, 1.00°)
OKLaboklab(14.99% 0.0401 0.0009)
OKLCHoklch(14.99% 0.04 1.2)
XYZxyz(0.4749, 0.3030, 0.3206)
Luminance0.0030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18040A #041812
analogous
#180414 #18040A #180804
triadic
#18040A #0A1804 #040A18
tetradic
#18040A #141804 #041812 #080418
square
#18040A #141804 #041812 #080418
split-complementary
#18040A #041808 #041418
monochromatic
#1A040B #1A040B #1A040B #4C0D20 #811536

Accessibility & contrast

On white

19.80
#18040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#18040A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18040A
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18040A#FFFFFF#000000##FFFFFF
##18040A1.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07080A
Deuteranopia (green-blind)
#0C0C0A
Tritanopia (blue-blind)
#1B0306
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #18040a;
/* rgb */ color: rgb(24, 4, 10);
/* oklch */ color: oklch(15.0% 0.040 1.2);
Tailwind
colors: {
  custom: {
    50: '#54484b',
    500: '#18040a',
    950: '#000000',
  },
}
SCSS
$custom: #18040a;
$custom-light: #54484b;
$custom-dark: #000000;
JSON
{
  "hex": "#18040a",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 342,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.14991,
    "c": 0.04009,
    "h": 1.2
  },
  "luminance": 0.00303
}

Semantic roles & 50–950 ramp

primary
#18040A
secondary
#1E5A48
accent
#EEB83A
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #18040A

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

Preview Lab → · Contrast checker → · Palette generator →

#18040A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva