#2E0704#2E0704

#2E0704 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.065 H 29.9°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#2E0704
RGBrgb(46, 7, 4)
HSLhsl(4, 84%, 10%)
HSVhsv(4, 91%, 18%)
CMYKcmyk(0%, 84.8%, 91.3%, 82%)
CIE-LABlab(6.70, 19.37, 8.79)
CIE-LCHlch(6.70, 21.27, 24.39°)
OKLaboklab(20.26% 0.0563 0.0324)
OKLCHoklch(20.26% 0.065 29.9)
XYZxyz(1.2247, 0.7418, 0.1935)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0704 #042B2E
analogous
#2E0416 #2E0704 #2E1C04
triadic
#2E0704 #042E07 #07042E
tetradic
#2E0704 #162E04 #042B2E #1C042E
square
#2E0704 #162E04 #042B2E #1C042E
split-complementary
#2E0704 #042E1C #04162E
monochromatic
#1C0402 #1C0402 #2E0704 #661009 #9F180E

Accessibility & contrast

On white

18.29
#2E0704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E0704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0704
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0704#FFFFFF#000000##FFFFFF
##2E07041.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1C1803
Tritanopia (blue-blind)
#340006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0704;
/* rgb */ color: rgb(46, 7, 4);
/* oklch */ color: oklch(20.3% 0.065 29.9);
Tailwind
colors: {
  custom: {
    50: '#6a4948',
    500: '#2e0704',
    950: '#000000',
  },
}
SCSS
$custom: #2e0704;
$custom-light: #6a4948;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0704",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 4
  },
  "hsl": {
    "h": 4.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20258,
    "c": 0.0649,
    "h": 29.9
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#2E0704
secondary
#1D6B71
accent
#ECFA2E
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2E0704

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

Preview Lab → · Contrast checker → · Palette generator →

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