#2D020C#2D020C

#2D020C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.4% C 0.072 H 11.6°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#2D020C
RGBrgb(45, 2, 12)
HSLhsl(346, 91%, 9%)
HSVhsv(346, 96%, 18%)
CMYKcmyk(0%, 95.6%, 73.3%, 82.4%)
CIE-LABlab(5.67, 22.04, 3.95)
CIE-LCHlch(5.67, 22.40, 10.17°)
OKLaboklab(19.37% 0.0702 0.0145)
OKLCHoklch(19.37% 0.072 11.6)
XYZxyz(1.1704, 0.6280, 0.4074)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D020C #022D23
analogous
#2D0222 #2D020C #2D0E02
triadic
#2D020C #0C2D02 #020C2D
tetradic
#2D020C #222D02 #022D23 #0E022D
square
#2D020C #222D02 #022D23 #0E022D
split-complementary
#2D020C #022D0E #02222D
monochromatic
#1D0108 #1D0108 #2D020C #68051C #A2072B

Accessibility & contrast

On white

18.66
#2D020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D020C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D020C#FFFFFF#000000##FFFFFF
##2D020C1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C0C
Deuteranopia (green-blind)
#18160B
Tritanopia (blue-blind)
#320005
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d020c;
/* rgb */ color: rgb(45, 2, 12);
/* oklch */ color: oklch(19.4% 0.072 11.6);
Tailwind
colors: {
  custom: {
    50: '#69474c',
    500: '#2d020c',
    950: '#000000',
  },
}
SCSS
$custom: #2d020c;
$custom-light: #69474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d020c",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 346.047,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19369,
    "c": 0.07162,
    "h": 11.6
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#2D020C
secondary
#19725D
accent
#FFCD29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D020C

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

Preview Lab → · Contrast checker → · Palette generator →

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