#2D040C#2D040C

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

Color values

HEX#2D040C
RGBrgb(45, 4, 12)
HSLhsl(348, 84%, 10%)
HSVhsv(348, 91%, 18%)
CMYKcmyk(0%, 91.1%, 73.3%, 82.4%)
CIE-LABlab(6.06, 21.06, 4.53)
CIE-LCHlch(6.06, 21.54, 12.13°)
OKLaboklab(19.72% 0.0657 0.016)
OKLCHoklch(19.72% 0.068 13.7)
XYZxyz(1.1921, 0.6714, 0.4146)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D040C #042D25
analogous
#2D0421 #2D040C #2D1104
triadic
#2D040C #0C2D04 #040C2D
tetradic
#2D040C #212D04 #042D25 #11042D
square
#2D040C #212D04 #042D25 #11042D
split-complementary
#2D040C #042D11 #04212D
monochromatic
#1C0207 #1C0207 #2D040C #65091B #9D0E2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D040C#FFFFFF#000000##FFFFFF
##2D040C1.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)
#0E0E0C
Deuteranopia (green-blind)
#19170B
Tritanopia (blue-blind)
#320007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d040c;
/* rgb */ color: rgb(45, 4, 12);
/* oklch */ color: oklch(19.7% 0.068 13.7);
Tailwind
colors: {
  custom: {
    50: '#69484c',
    500: '#2d040c',
    950: '#000000',
  },
}
SCSS
$custom: #2d040c;
$custom-light: #69484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d040c",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 348.293,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19724,
    "c": 0.06765,
    "h": 13.7
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#2D040C
secondary
#1D7060
accent
#FAD22E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D040C

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

Preview Lab → · Contrast checker → · Palette generator →

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