#2E040A#2E040A

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

Color values

HEX#2E040A
RGBrgb(46, 4, 10)
HSLhsl(351, 84%, 10%)
HSVhsv(351, 91%, 18%)
CMYKcmyk(0%, 91.3%, 78.3%, 82%)
CIE-LABlab(6.23, 21.41, 5.66)
CIE-LCHlch(6.23, 22.14, 14.80°)
OKLaboklab(19.9% 0.0657 0.0201)
OKLCHoklch(19.9% 0.069 17)
XYZxyz(1.2250, 0.6898, 0.3557)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E040A #042E28
analogous
#2E041F #2E040A #2E1304
triadic
#2E040A #0A2E04 #040A2E
tetradic
#2E040A #1F2E04 #042E28 #13042E
square
#2E040A #1F2E04 #042E28 #13042E
split-complementary
#2E040A #042E13 #041F2E
monochromatic
#1C0206 #1C0206 #2E040A #660916 #9F0E22

Accessibility & contrast

On white

18.45
#2E040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E040A
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E040A#FFFFFF#000000##FFFFFF
##2E040A1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0A
Deuteranopia (green-blind)
#1A1709
Tritanopia (blue-blind)
#330006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e040a;
/* rgb */ color: rgb(46, 4, 10);
/* oklch */ color: oklch(19.9% 0.069 17.0);
Tailwind
colors: {
  custom: {
    50: '#6a484b',
    500: '#2e040a',
    950: '#000000',
  },
}
SCSS
$custom: #2e040a;
$custom-light: #6a484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e040a",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 351.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19899,
    "c": 0.06875,
    "h": 17
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#2E040A
secondary
#1D7165
accent
#FADD2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E040A

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

Preview Lab → · Contrast checker → · Palette generator →

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