#1E040E#1E040E

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

Color values

HEX#1E040E
RGBrgb(30, 4, 14)
HSLhsl(337, 76%, 7%)
HSVhsv(337, 87%, 12%)
CMYKcmyk(0%, 86.7%, 53.3%, 88.2%)
CIE-LABlab(3.56, 11.59, -0.39)
CIE-LCHlch(3.56, 11.60, 358.07°)
OKLaboklab(16.46% 0.0499 -0.0015)
OKLCHoklch(16.46% 0.05 358.3)
XYZxyz(0.6581, 0.3946, 0.4569)
Luminance0.0040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E040E #041E14
analogous
#1E041B #1E040E #1E0704
triadic
#1E040E #0E1E04 #040E1E
tetradic
#1E040E #1B1E04 #041E14 #07041E
square
#1E040E #1B1E04 #041E14 #07041E
split-complementary
#1E040E #041E07 #041B1E
monochromatic
#1B040D #1B040D #1E040E #540B27 #8A1240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E040E#FFFFFF#000000##FFFFFF
##1E040E1.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)
#08090E
Deuteranopia (green-blind)
#0F0F0D
Tritanopia (blue-blind)
#210307
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e040e;
/* rgb */ color: rgb(30, 4, 14);
/* oklch */ color: oklch(16.5% 0.050 358.3);
Tailwind
colors: {
  custom: {
    50: '#59484d',
    500: '#1e040e',
    950: '#000000',
  },
}
SCSS
$custom: #1e040e;
$custom-light: #59484d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e040e",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 336.923,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16456,
    "c": 0.04989,
    "h": 358.3
  },
  "luminance": 0.00395
}

Semantic roles & 50–950 ramp

primary
#1E040E
secondary
#1D6147
accent
#F3AA35
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#030001
muted
#787777

Preview Lab

Preview with #1E040E

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

Preview Lab → · Contrast checker → · Palette generator →

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