#2E0802#2E0802

#2E0802 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.4% C 0.064 H 34.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2E0802
RGBrgb(46, 8, 2)
HSLhsl(8, 92%, 9%)
HSVhsv(8, 96%, 18%)
CMYKcmyk(0%, 82.6%, 95.7%, 82%)
CIE-LABlab(6.86, 18.70, 9.83)
CIE-LCHlch(6.86, 21.12, 27.73°)
OKLaboklab(20.38% 0.053 0.0368)
OKLCHoklch(20.38% 0.064 34.8)
XYZxyz(1.2246, 0.7591, 0.1395)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0802 #02282E
analogous
#2E0212 #2E0802 #2E1E02
triadic
#2E0802 #022E08 #08022E
tetradic
#2E0802 #122E02 #02282E #1E022E
square
#2E0802 #122E02 #02282E #1E022E
split-complementary
#2E0802 #022E1E #02122E
monochromatic
#1D0501 #1D0501 #2E0802 #691205 #A31C07

Accessibility & contrast

On white

18.23
#2E0802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E0802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0802
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0802#FFFFFF#000000##FFFFFF
##2E08021.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131001
Deuteranopia (green-blind)
#1D1801
Tritanopia (blue-blind)
#340107
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0802;
/* rgb */ color: rgb(46, 8, 2);
/* oklch */ color: oklch(20.4% 0.064 34.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a47',
    500: '#2e0802',
    950: '#000000',
  },
}
SCSS
$custom: #2e0802;
$custom-light: #6a4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0802",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 8.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20375,
    "c": 0.06447,
    "h": 34.8
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#2E0802
secondary
#196773
accent
#E2FF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2E0802

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

Preview Lab → · Contrast checker → · Palette generator →

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