#2E0202#2E0202

#2E0202 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.3% C 0.073 H 27.6°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#2E0202
RGBrgb(46, 2, 2)
HSLhsl(0, 92%, 9%)
HSVhsv(0, 96%, 18%)
CMYKcmyk(0%, 95.7%, 95.7%, 82%)
CIE-LABlab(5.68, 21.65, 8.11)
CIE-LCHlch(5.68, 23.12, 20.53°)
OKLaboklab(19.34% 0.065 0.034)
OKLCHoklch(19.34% 0.073 27.6)
XYZxyz(1.1595, 0.6288, 0.1177)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0202 #022E2E
analogous
#2E0218 #2E0202 #2E1802
triadic
#2E0202 #022E02 #02022E
tetradic
#2E0202 #182E02 #022E2E #18022E
square
#2E0202 #182E02 #022E2E #18022E
split-complementary
#2E0202 #022E18 #02182E
monochromatic
#1D0101 #1D0101 #2E0202 #690505 #A30707

Accessibility & contrast

On white

18.65
#2E0202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0202
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0202#FFFFFF#000000##FFFFFF
##2E02021.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C02
Deuteranopia (green-blind)
#1A1601
Tritanopia (blue-blind)
#340002
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2e0202;
/* rgb */ color: rgb(46, 2, 2);
/* oklch */ color: oklch(19.3% 0.073 27.6);
Tailwind
colors: {
  custom: {
    50: '#6a4747',
    500: '#2e0202',
    950: '#000000',
  },
}
SCSS
$custom: #2e0202;
$custom-light: #6a4747;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0202",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19341,
    "c": 0.07333,
    "h": 27.6
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2E0202
secondary
#197373
accent
#FFFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2E0202

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

Preview Lab → · Contrast checker → · Palette generator →

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