#2D040B#2D040B

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

Color values

HEX#2D040B
RGBrgb(45, 4, 11)
HSLhsl(350, 84%, 10%)
HSVhsv(350, 91%, 18%)
CMYKcmyk(0%, 91.1%, 75.6%, 82.4%)
CIE-LABlab(6.04, 20.96, 4.94)
CIE-LCHlch(6.04, 21.53, 13.26°)
OKLaboklab(19.7% 0.0652 0.0177)
OKLCHoklch(19.7% 0.068 15.2)
XYZxyz(1.1861, 0.6691, 0.3832)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D040B #042D26
analogous
#2D0420 #2D040B #2D1204
triadic
#2D040B #0B2D04 #040B2D
tetradic
#2D040B #202D04 #042D26 #12042D
square
#2D040B #202D04 #042D26 #12042D
split-complementary
#2D040B #042D12 #04202D
monochromatic
#1C0207 #1C0207 #2D040B #650919 #9D0E26

Accessibility & contrast

On white

18.52
#2D040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D040B
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D040B#FFFFFF#000000##FFFFFF
##2D040B1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0B
Deuteranopia (green-blind)
#19170A
Tritanopia (blue-blind)
#320007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d040b;
/* rgb */ color: rgb(45, 4, 11);
/* oklch */ color: oklch(19.7% 0.068 15.2);
Tailwind
colors: {
  custom: {
    50: '#69484c',
    500: '#2d040b',
    950: '#000000',
  },
}
SCSS
$custom: #2d040b;
$custom-light: #69484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d040b",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 349.756,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19697,
    "c": 0.06757,
    "h": 15.2
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#2D040B
secondary
#1D7062
accent
#FAD72E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D040B

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

Preview Lab → · Contrast checker → · Palette generator →

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