#2E020C#2E020C

#2E020C is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.6% C 0.073 H 12.2°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#2E020C
RGBrgb(46, 2, 12)
HSLhsl(346, 92%, 9%)
HSVhsv(346, 96%, 18%)
CMYKcmyk(0%, 95.7%, 73.9%, 82%)
CIE-LABlab(5.88, 22.59, 4.28)
CIE-LCHlch(5.88, 23.00, 10.73°)
OKLaboklab(19.6% 0.0711 0.0154)
OKLCHoklch(19.6% 0.073 12.2)
XYZxyz(1.2149, 0.6510, 0.4094)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E020C #022E24
analogous
#2E0222 #2E020C #2E0E02
triadic
#2E020C #0C2E02 #020C2E
tetradic
#2E020C #222E02 #022E24 #0E022E
square
#2E020C #222E02 #022E24 #0E022E
split-complementary
#2E020C #022E0E #02222E
monochromatic
#1D0108 #1D0108 #2E020C #69051B #A3072B

Accessibility & contrast

On white

18.58
#2E020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E020C
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E020C#FFFFFF#000000##FFFFFF
##2E020C1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0C
Deuteranopia (green-blind)
#19160B
Tritanopia (blue-blind)
#330005
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2e020c;
/* rgb */ color: rgb(46, 2, 12);
/* oklch */ color: oklch(19.6% 0.073 12.2);
Tailwind
colors: {
  custom: {
    50: '#6a474c',
    500: '#2e020c',
    950: '#000000',
  },
}
SCSS
$custom: #2e020c;
$custom-light: #6a474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e020c",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 346.364,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19604,
    "c": 0.07271,
    "h": 12.2
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#2E020C
secondary
#19735E
accent
#FFCE29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E020C

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

Preview Lab → · Contrast checker → · Palette generator →

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