#2D040A#2D040A

#2D040A is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.7% C 0.068 H 16.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2D040A
RGBrgb(45, 4, 10)
HSLhsl(351, 84%, 10%)
HSVhsv(351, 91%, 18%)
CMYKcmyk(0%, 91.1%, 77.8%, 82.4%)
CIE-LABlab(6.02, 20.86, 5.33)
CIE-LCHlch(6.02, 21.53, 14.32°)
OKLaboklab(19.67% 0.0647 0.0193)
OKLCHoklch(19.67% 0.068 16.6)
XYZxyz(1.1805, 0.6668, 0.3536)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D040A #042D27
analogous
#2D041F #2D040A #2D1304
triadic
#2D040A #0A2D04 #040A2D
tetradic
#2D040A #1F2D04 #042D27 #13042D
square
#2D040A #1F2D04 #042D27 #13042D
split-complementary
#2D040A #042D13 #041F2D
monochromatic
#1C0206 #1C0206 #2D040A #650916 #9D0E23

Accessibility & contrast

On white

18.53
#2D040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D040A
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D040A#FFFFFF#000000##FFFFFF
##2D040A1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0A
Deuteranopia (green-blind)
#191709
Tritanopia (blue-blind)
#320006
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d040a;
/* rgb */ color: rgb(45, 4, 10);
/* oklch */ color: oklch(19.7% 0.068 16.6);
Tailwind
colors: {
  custom: {
    50: '#69484b',
    500: '#2d040a',
    950: '#000000',
  },
}
SCSS
$custom: #2d040a;
$custom-light: #69484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d040a",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 351.22,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19671,
    "c": 0.06754,
    "h": 16.6
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#2D040A
secondary
#1D7064
accent
#FADC2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D040A

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

Preview Lab → · Contrast checker → · Palette generator →

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