#18040E#18040E

#18040E is a very dark, muted pink. Relative luminance 0.003; OKLCH L 15.2% C 0.043 H 350.0°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#18040E
RGBrgb(24, 4, 14)
HSLhsl(330, 71%, 5%)
HSVhsv(330, 83%, 9%)
CMYKcmyk(0%, 83.3%, 41.7%, 90.6%)
CIE-LABlab(2.83, 8.28, -1.56)
CIE-LCHlch(2.83, 8.42, 349.34°)
OKLaboklab(15.18% 0.0419 -0.0074)
OKLCHoklch(15.18% 0.043 350)
XYZxyz(0.4994, 0.3128, 0.4495)
Luminance0.0031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18040E #04180E
analogous
#180418 #18040E #180404
triadic
#18040E #0E1804 #040E18
tetradic
#18040E #181804 #04180E #040418
square
#18040E #181804 #04180E #040418
split-complementary
#18040E #041804 #041818
monochromatic
#1A040F #1A040F #1A040F #4C0D2D #81154B

Accessibility & contrast

On white

19.76
#18040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18040E
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18040E#FFFFFF#000000##FFFFFF
##18040E1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06080E
Deuteranopia (green-blind)
#0B0C0D
Tritanopia (blue-blind)
#1A0307
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #18040e;
/* rgb */ color: rgb(24, 4, 14);
/* oklch */ color: oklch(15.2% 0.043 350.0);
Tailwind
colors: {
  custom: {
    50: '#54484d',
    500: '#18040e',
    950: '#000000',
  },
}
SCSS
$custom: #18040e;
$custom-light: #54484d;
$custom-dark: #000000;
JSON
{
  "hex": "#18040e",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 330,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.15182,
    "c": 0.04251,
    "h": 350
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#18040E
secondary
#1E5A3C
accent
#EE943A
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #18040E

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

Preview Lab → · Contrast checker → · Palette generator →

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