#1E040C#1E040C

#1E040C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.4% C 0.049 H 2.9°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#1E040C
RGBrgb(30, 4, 12)
HSLhsl(342, 76%, 7%)
HSVhsv(342, 87%, 12%)
CMYKcmyk(0%, 86.7%, 60%, 88.2%)
CIE-LABlab(3.52, 11.26, 0.50)
CIE-LCHlch(3.52, 11.28, 2.55°)
OKLaboklab(16.37% 0.0489 0.0025)
OKLCHoklch(16.37% 0.049 2.9)
XYZxyz(0.6452, 0.3895, 0.3890)
Luminance0.0039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E040C #041E16
analogous
#1E0419 #1E040C #1E0904
triadic
#1E040C #0C1E04 #040C1E
tetradic
#1E040C #191E04 #041E16 #09041E
square
#1E040C #191E04 #041E16 #09041E
split-complementary
#1E040C #041E09 #04191E
monochromatic
#1B040B #1B040B #1E040C #540B22 #8A1237

Accessibility & contrast

On white

19.48
#1E040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1E040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E040C
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E040C#FFFFFF#000000##FFFFFF
##1E040C1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08090C
Deuteranopia (green-blind)
#0F0F0B
Tritanopia (blue-blind)
#210207
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e040c;
/* rgb */ color: rgb(30, 4, 12);
/* oklch */ color: oklch(16.4% 0.049 2.9);
Tailwind
colors: {
  custom: {
    50: '#59484c',
    500: '#1e040c',
    950: '#000000',
  },
}
SCSS
$custom: #1e040c;
$custom-light: #59484c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e040c",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 341.538,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1637,
    "c": 0.049,
    "h": 2.9
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#1E040C
secondary
#1D614C
accent
#F3B835
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#030001
muted
#787777

Preview Lab

Preview with #1E040C

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

Preview Lab → · Contrast checker → · Palette generator →

#1E040C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva