#2E010C#2E010C

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

Color values

HEX#2E010C
RGBrgb(46, 1, 12)
HSLhsl(345, 96%, 9%)
HSVhsv(345, 98%, 18%)
CMYKcmyk(0%, 97.8%, 73.9%, 82%)
CIE-LABlab(5.68, 23.09, 4.00)
CIE-LCHlch(5.68, 23.43, 9.82°)
OKLaboklab(19.43% 0.0733 0.0146)
OKLCHoklch(19.43% 0.075 11.2)
XYZxyz(1.2041, 0.6293, 0.4058)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E010C #012E23
analogous
#2E0123 #2E010C #2E0D01
triadic
#2E010C #0C2E01 #010C2E
tetradic
#2E010C #232E01 #012E23 #0D012E
square
#2E010C #232E01 #012E23 #0D012E
split-complementary
#2E010C #012E0D #01232E
monochromatic
#1E0108 #1E0108 #2E010C #6A021C #A6042B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E010C#FFFFFF#000000##FFFFFF
##2E010C1.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)
#0C0C0C
Deuteranopia (green-blind)
#19160B
Tritanopia (blue-blind)
#330005
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2e010c;
/* rgb */ color: rgb(46, 1, 12);
/* oklch */ color: oklch(19.4% 0.075 11.2);
Tailwind
colors: {
  custom: {
    50: '#6a464c',
    500: '#2e010c',
    950: '#000000',
  },
}
SCSS
$custom: #2e010c;
$custom-light: #6a464c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e010c",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 345.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19425,
    "c": 0.07478,
    "h": 11.2
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2E010C
secondary
#17745D
accent
#FFCB29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E010C

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

Preview Lab → · Contrast checker → · Palette generator →

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