#2E0102#2E0102

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

Color values

HEX#2E0102
RGBrgb(46, 1, 2)
HSLhsl(359, 96%, 9%)
HSVhsv(359, 98%, 18%)
CMYKcmyk(0%, 97.8%, 95.7%, 82%)
CIE-LABlab(5.48, 22.14, 7.82)
CIE-LCHlch(5.48, 23.48, 19.46°)
OKLaboklab(19.16% 0.0672 0.0335)
OKLCHoklch(19.16% 0.075 26.5)
XYZxyz(1.1487, 0.6071, 0.1141)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0102 #012E2D
analogous
#2E0119 #2E0102 #2E1701
triadic
#2E0102 #022E01 #01022E
tetradic
#2E0102 #192E01 #012E2D #17012E
square
#2E0102 #192E01 #012E2D #17012E
split-complementary
#2E0102 #012E17 #01192E
monochromatic
#1E0101 #1E0101 #2E0102 #6A0205 #A60407

Accessibility & contrast

On white

18.73
#2E0102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0102
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0102#FFFFFF#000000##FFFFFF
##2E01021.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0B02
Deuteranopia (green-blind)
#1A1601
Tritanopia (blue-blind)
#340002
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2e0102;
/* rgb */ color: rgb(46, 1, 2);
/* oklch */ color: oklch(19.2% 0.075 26.5);
Tailwind
colors: {
  custom: {
    50: '#6a4648',
    500: '#2e0102',
    950: '#000000',
  },
}
SCSS
$custom: #2e0102;
$custom-light: #6a4648;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0102",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19156,
    "c": 0.07511,
    "h": 26.5
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#2E0102
secondary
#177472
accent
#FFFA29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2E0102

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

Preview Lab → · Contrast checker → · Palette generator →

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