#2E0108#2E0108

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

Color values

HEX#2E0108
RGBrgb(46, 1, 8)
HSLhsl(351, 96%, 9%)
HSVhsv(351, 98%, 18%)
CMYKcmyk(0%, 97.8%, 82.6%, 82%)
CIE-LABlab(5.60, 22.71, 5.55)
CIE-LCHlch(5.60, 23.38, 13.74°)
OKLaboklab(19.32% 0.0713 0.0214)
OKLCHoklch(19.32% 0.074 16.7)
XYZxyz(1.1815, 0.6203, 0.2872)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0108 #012E27
analogous
#2E011F #2E0108 #2E1101
triadic
#2E0108 #082E01 #01082E
tetradic
#2E0108 #1F2E01 #012E27 #11012E
square
#2E0108 #1F2E01 #012E27 #11012E
split-complementary
#2E0108 #012E11 #011F2E
monochromatic
#1E0105 #1E0105 #2E0108 #6A0212 #A6041D

Accessibility & contrast

On white

18.68
#2E0108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2E0108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0108
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0108#FFFFFF#000000##FFFFFF
##2E01081.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C08
Deuteranopia (green-blind)
#191607
Tritanopia (blue-blind)
#340004
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2e0108;
/* rgb */ color: rgb(46, 1, 8);
/* oklch */ color: oklch(19.3% 0.074 16.7);
Tailwind
colors: {
  custom: {
    50: '#6a464a',
    500: '#2e0108',
    950: '#000000',
  },
}
SCSS
$custom: #2e0108;
$custom-light: #6a464a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0108",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 8
  },
  "hsl": {
    "h": 350.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19316,
    "c": 0.07445,
    "h": 16.7
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#2E0108
secondary
#177465
accent
#FFDE29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E0108

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

Preview Lab → · Contrast checker → · Palette generator →

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