#2E0104#2E0104

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

Color values

HEX#2E0104
RGBrgb(46, 1, 4)
HSLhsl(356, 96%, 9%)
HSVhsv(356, 98%, 18%)
CMYKcmyk(0%, 97.8%, 91.3%, 82%)
CIE-LABlab(5.52, 22.33, 7.07)
CIE-LCHlch(5.52, 23.42, 17.56°)
OKLaboklab(19.21% 0.0688 0.0291)
OKLCHoklch(19.21% 0.075 23)
XYZxyz(1.1596, 0.6115, 0.1718)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0104 #012E2B
analogous
#2E011B #2E0104 #2E1501
triadic
#2E0104 #042E01 #01042E
tetradic
#2E0104 #1B2E01 #012E2B #15012E
square
#2E0104 #1B2E01 #012E2B #15012E
split-complementary
#2E0104 #012E15 #011B2E
monochromatic
#1E0103 #1E0103 #2E0104 #6A0209 #A6040E

Accessibility & contrast

On white

18.71
#2E0104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0104
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0104#FFFFFF#000000##FFFFFF
##2E01041.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0B04
Deuteranopia (green-blind)
#191603
Tritanopia (blue-blind)
#340002
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2e0104;
/* rgb */ color: rgb(46, 1, 4);
/* oklch */ color: oklch(19.2% 0.075 23.0);
Tailwind
colors: {
  custom: {
    50: '#6a4648',
    500: '#2e0104',
    950: '#000000',
  },
}
SCSS
$custom: #2e0104;
$custom-light: #6a4648;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0104",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 356,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1921,
    "c": 0.07468,
    "h": 23
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#2E0104
secondary
#17746E
accent
#FFF129
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2E0104

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

Preview Lab → · Contrast checker → · Palette generator →

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