#2E070B#2E070B

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

Color values

HEX#2E070B
RGBrgb(46, 7, 11)
HSLhsl(354, 74%, 10%)
HSVhsv(354, 85%, 18%)
CMYKcmyk(0%, 84.8%, 76.1%, 82%)
CIE-LABlab(6.84, 19.99, 6.12)
CIE-LCHlch(6.84, 20.91, 17.03°)
OKLaboklab(20.42% 0.0602 0.0205)
OKLCHoklch(20.42% 0.064 18.8)
XYZxyz(1.2632, 0.7571, 0.3962)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E070B #072E2A
analogous
#2E071E #2E070B #2E1607
triadic
#2E070B #0B2E07 #070B2E
tetradic
#2E070B #1E2E07 #072E2A #16072E
square
#2E070B #1E2E07 #072E2A #16072E
split-complementary
#2E070B #072E16 #071E2E
monochromatic
#1B0406 #1B0406 #2E070B #630F18 #981724

Accessibility & contrast

On white

18.24
#2E070B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E070B
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E070B#FFFFFF#000000##FFFFFF
##2E070B1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100B
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#330109
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e070b;
/* rgb */ color: rgb(46, 7, 11);
/* oklch */ color: oklch(20.4% 0.064 18.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a4c',
    500: '#2e070b',
    950: '#000000',
  },
}
SCSS
$custom: #2e070b;
$custom-light: #6a4a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e070b",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 11
  },
  "hsl": {
    "h": 353.846,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20424,
    "c": 0.06363,
    "h": 18.8
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#2E070B
secondary
#236E66
accent
#F0DD38
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E070B

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

Preview Lab → · Contrast checker → · Palette generator →

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