#2E0402#2E0402

#2E0402 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.7% C 0.070 H 29.9°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#2E0402
RGBrgb(46, 4, 2)
HSLhsl(3, 92%, 9%)
HSVhsv(3, 96%, 18%)
CMYKcmyk(0%, 91.3%, 95.7%, 82%)
CIE-LABlab(6.07, 20.68, 8.68)
CIE-LCHlch(6.07, 22.43, 22.77°)
OKLaboklab(19.7% 0.0607 0.035)
OKLCHoklch(19.7% 0.07 29.9)
XYZxyz(1.1812, 0.6722, 0.1250)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0402 #022C2E
analogous
#2E0216 #2E0402 #2E1A02
triadic
#2E0402 #022E04 #04022E
tetradic
#2E0402 #162E02 #022C2E #1A022E
square
#2E0402 #162E02 #022C2E #1A022E
split-complementary
#2E0402 #022E1A #02162E
monochromatic
#1D0301 #1D0301 #2E0402 #690905 #A30E07

Accessibility & contrast

On white

18.51
#2E0402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2E0402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0402
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0402#FFFFFF#000000##FFFFFF
##2E04021.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D02
Deuteranopia (green-blind)
#1B1701
Tritanopia (blue-blind)
#340004
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2e0402;
/* rgb */ color: rgb(46, 4, 2);
/* oklch */ color: oklch(19.7% 0.070 29.9);
Tailwind
colors: {
  custom: {
    50: '#6a4847',
    500: '#2e0402',
    950: '#000000',
  },
}
SCSS
$custom: #2e0402;
$custom-light: #6a4847;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0402",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 2.727,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19698,
    "c": 0.07006,
    "h": 29.9
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#2E0402
secondary
#196F73
accent
#F5FF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2E0402

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

Preview Lab → · Contrast checker → · Palette generator →

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