#2E0702#2E0702

#2E0702 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.066 H 33.5°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#2E0702
RGBrgb(46, 7, 2)
HSLhsl(7, 92%, 9%)
HSVhsv(7, 96%, 18%)
CMYKcmyk(0%, 84.8%, 95.7%, 82%)
CIE-LABlab(6.66, 19.19, 9.54)
CIE-LCHlch(6.66, 21.44, 26.43°)
OKLaboklab(20.21% 0.0548 0.0363)
OKLCHoklch(20.21% 0.066 33.5)
XYZxyz(1.2138, 0.7374, 0.1358)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0702 #02292E
analogous
#2E0213 #2E0702 #2E1D02
triadic
#2E0702 #022E07 #07022E
tetradic
#2E0702 #132E02 #02292E #1D022E
square
#2E0702 #132E02 #02292E #1D022E
split-complementary
#2E0702 #022E1D #02132E
monochromatic
#1D0401 #1D0401 #2E0702 #691005 #A31907

Accessibility & contrast

On white

18.30
#2E0702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0702
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0702#FFFFFF#000000##FFFFFF
##2E07021.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F01
Deuteranopia (green-blind)
#1C1801
Tritanopia (blue-blind)
#340006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0702;
/* rgb */ color: rgb(46, 7, 2);
/* oklch */ color: oklch(20.2% 0.066 33.5);
Tailwind
colors: {
  custom: {
    50: '#6a4947',
    500: '#2e0702',
    950: '#000000',
  },
}
SCSS
$custom: #2e0702;
$custom-light: #6a4947;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0702",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 6.818,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2021,
    "c": 0.06576,
    "h": 33.5
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#2E0702
secondary
#196973
accent
#E7FF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2E0702

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

Preview Lab → · Contrast checker → · Palette generator →

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