#1E040F#1E040F

#1E040F is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.5% C 0.050 H 356.0°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#1E040F
RGBrgb(30, 4, 15)
HSLhsl(335, 76%, 7%)
HSVhsv(335, 87%, 12%)
CMYKcmyk(0%, 86.7%, 50%, 88.2%)
CIE-LABlab(3.59, 11.77, -0.87)
CIE-LCHlch(3.59, 11.80, 355.78°)
OKLaboklab(16.5% 0.0503 -0.0035)
OKLCHoklch(16.5% 0.05 356)
XYZxyz(0.6651, 0.3974, 0.4935)
Luminance0.0040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E040F #041E13
analogous
#1E041C #1E040F #1E0604
triadic
#1E040F #0F1E04 #040F1E
tetradic
#1E040F #1C1E04 #041E13 #06041E
square
#1E040F #1C1E04 #041E13 #06041E
split-complementary
#1E040F #041E06 #041C1E
monochromatic
#1B040E #1B040E #1E040F #540B2A #8A1245

Accessibility & contrast

On white

19.46
#1E040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E040F
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E040F#FFFFFF#000000##FFFFFF
##1E040F1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070A0F
Deuteranopia (green-blind)
#0F0F0E
Tritanopia (blue-blind)
#210308
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e040f;
/* rgb */ color: rgb(30, 4, 15);
/* oklch */ color: oklch(16.5% 0.050 356.0);
Tailwind
colors: {
  custom: {
    50: '#59484e',
    500: '#1e040f',
    950: '#000000',
  },
}
SCSS
$custom: #1e040f;
$custom-light: #59484e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e040f",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 334.615,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16501,
    "c": 0.05042,
    "h": 356
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#1E040F
secondary
#1D6144
accent
#F3A335
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#030001
muted
#787777

Preview Lab

Preview with #1E040F

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

Preview Lab → · Contrast checker → · Palette generator →

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