#2E040D#2E040D

#2E040D is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.0% C 0.069 H 12.7°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#2E040D
RGBrgb(46, 4, 13)
HSLhsl(347, 84%, 10%)
HSVhsv(347, 91%, 18%)
CMYKcmyk(0%, 91.3%, 71.7%, 82%)
CIE-LABlab(6.29, 21.70, 4.42)
CIE-LCHlch(6.29, 22.14, 11.51°)
OKLaboklab(19.98% 0.0672 0.0151)
OKLCHoklch(19.98% 0.069 12.7)
XYZxyz(1.2429, 0.6969, 0.4498)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E040D #042E25
analogous
#2E0422 #2E040D #2E1004
triadic
#2E040D #0D2E04 #040D2E
tetradic
#2E040D #222E04 #042E25 #10042E
square
#2E040D #222E04 #042E25 #10042E
split-complementary
#2E040D #042E10 #04222E
monochromatic
#1C0208 #1C0208 #2E040D #66091D #9F0E2D

Accessibility & contrast

On white

18.43
#2E040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E040D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E040D
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E040D#FFFFFF#000000##FFFFFF
##2E040D1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0D
Deuteranopia (green-blind)
#1A170C
Tritanopia (blue-blind)
#330007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e040d;
/* rgb */ color: rgb(46, 4, 13);
/* oklch */ color: oklch(20.0% 0.069 12.7);
Tailwind
colors: {
  custom: {
    50: '#6a484d',
    500: '#2e040d',
    950: '#000000',
  },
}
SCSS
$custom: #2e040d;
$custom-light: #6a484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e040d",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 347.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19979,
    "c": 0.06892,
    "h": 12.7
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#2E040D
secondary
#1D715F
accent
#FACE2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E040D

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

Preview Lab → · Contrast checker → · Palette generator →

#2E040D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva