#2D040E#2D040E

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

Color values

HEX#2D040E
RGBrgb(45, 4, 14)
HSLhsl(345, 84%, 10%)
HSVhsv(345, 91%, 18%)
CMYKcmyk(0%, 91.1%, 68.9%, 82.4%)
CIE-LABlab(6.11, 21.28, 3.64)
CIE-LCHlch(6.11, 21.59, 9.70°)
OKLaboklab(19.78% 0.0667 0.0125)
OKLCHoklch(19.78% 0.068 10.6)
XYZxyz(1.2050, 0.6766, 0.4825)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D040E #042D23
analogous
#2D0423 #2D040E #2D0F04
triadic
#2D040E #0E2D04 #040E2D
tetradic
#2D040E #232D04 #042D23 #0F042D
square
#2D040E #232D04 #042D23 #0F042D
split-complementary
#2D040E #042D0F #04232D
monochromatic
#1C0209 #1C0209 #2D040E #65091F #9D0E31

Accessibility & contrast

On white

18.50
#2D040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2D040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D040E
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D040E#FFFFFF#000000##FFFFFF
##2D040E1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0E
Deuteranopia (green-blind)
#19170D
Tritanopia (blue-blind)
#320008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d040e;
/* rgb */ color: rgb(45, 4, 14);
/* oklch */ color: oklch(19.8% 0.068 10.6);
Tailwind
colors: {
  custom: {
    50: '#69484d',
    500: '#2d040e',
    950: '#000000',
  },
}
SCSS
$custom: #2d040e;
$custom-light: #69484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d040e",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 345.366,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19784,
    "c": 0.06788,
    "h": 10.6
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#2D040E
secondary
#1D705C
accent
#FAC82E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D040E

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

Preview Lab → · Contrast checker → · Palette generator →

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