#2D021D#2D021D

#2D021D is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.1% C 0.079 H 346.9°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#2D021D
RGBrgb(45, 2, 29)
HSLhsl(322, 91%, 9%)
HSVhsv(322, 96%, 18%)
CMYKcmyk(0%, 95.6%, 35.6%, 82.4%)
CIE-LABlab(6.23, 24.52, -6.49)
CIE-LCHlch(6.23, 25.36, 345.18°)
OKLaboklab(20.09% 0.0768 -0.0178)
OKLCHoklch(20.09% 0.079 346.9)
XYZxyz(1.3257, 0.6902, 1.2256)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021D #022D12
analogous
#28022D #2D021D #2D0208
triadic
#2D021D #1D2D02 #021D2D
tetradic
#2D021D #2D2802 #022D12 #02082D
square
#2D021D #2D2802 #022D12 #02082D
split-complementary
#2D021D #082D02 #022D28
monochromatic
#1D0113 #1D0113 #2D021D #680543 #A20769

Accessibility & contrast

On white

18.45
#2D021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021D#FFFFFF#000000##FFFFFF
##2D021D1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1E
Deuteranopia (green-blind)
#15171C
Tritanopia (blue-blind)
#31010E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021d;
/* rgb */ color: rgb(45, 2, 29);
/* oklch */ color: oklch(20.1% 0.079 346.9);
Tailwind
colors: {
  custom: {
    50: '#684758',
    500: '#2d021d',
    950: '#000000',
  },
}
SCSS
$custom: #2d021d;
$custom-light: #684758;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021d",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 322.326,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2009,
    "c": 0.07889,
    "h": 346.9
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#2D021D
secondary
#19723A
accent
#FF7929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021D

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

Preview Lab → · Contrast checker → · Palette generator →

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