#2E040C#2E040C

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

Color values

HEX#2E040C
RGBrgb(46, 4, 12)
HSLhsl(349, 84%, 10%)
HSVhsv(349, 91%, 18%)
CMYKcmyk(0%, 91.3%, 73.9%, 82%)
CIE-LABlab(6.27, 21.60, 4.85)
CIE-LCHlch(6.27, 22.13, 12.67°)
OKLaboklab(19.95% 0.0667 0.0168)
OKLCHoklch(19.95% 0.069 14.2)
XYZxyz(1.2366, 0.6944, 0.4167)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E040C #042E26
analogous
#2E0421 #2E040C #2E1104
triadic
#2E040C #0C2E04 #040C2E
tetradic
#2E040C #212E04 #042E26 #11042E
square
#2E040C #212E04 #042E26 #11042E
split-complementary
#2E040C #042E11 #04212E
monochromatic
#1C0207 #1C0207 #2E040C #66091B #9F0E29

Accessibility & contrast

On white

18.44
#2E040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E040C#FFFFFF#000000##FFFFFF
##2E040C1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e040c;
/* rgb */ color: rgb(46, 4, 12);
/* oklch */ color: oklch(20.0% 0.069 14.2);
Tailwind
colors: {
  custom: {
    50: '#6a484c',
    500: '#2e040c',
    950: '#000000',
  },
}
SCSS
$custom: #2e040c;
$custom-light: #6a484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e040c",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 348.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19951,
    "c": 0.06883,
    "h": 14.2
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#2E040C
secondary
#1D7161
accent
#FAD32E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E040C

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

Preview Lab → · Contrast checker → · Palette generator →

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