#2D021C#2D021C

#2D021C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.078 H 348.3°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2D021C
RGBrgb(45, 2, 28)
HSLhsl(324, 91%, 9%)
HSVhsv(324, 96%, 18%)
CMYKcmyk(0%, 95.6%, 37.8%, 82.4%)
CIE-LABlab(6.19, 24.34, -5.77)
CIE-LCHlch(6.19, 25.02, 346.67°)
OKLaboklab(20.04% 0.0766 -0.0159)
OKLCHoklch(20.04% 0.078 348.3)
XYZxyz(1.3136, 0.6853, 1.1615)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021C #022D13
analogous
#29022D #2D021C #2D0207
triadic
#2D021C #1C2D02 #021C2D
tetradic
#2D021C #2D2902 #022D13 #02072D
square
#2D021C #2D2902 #022D13 #02072D
split-complementary
#2D021C #072D02 #022D29
monochromatic
#1D0112 #1D0112 #2D021C #680540 #A20765

Accessibility & contrast

On white

18.47
#2D021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021C
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021C#FFFFFF#000000##FFFFFF
##2D021C1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1D
Deuteranopia (green-blind)
#15171B
Tritanopia (blue-blind)
#31010D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021c;
/* rgb */ color: rgb(45, 2, 28);
/* oklch */ color: oklch(20.0% 0.078 348.3);
Tailwind
colors: {
  custom: {
    50: '#684758',
    500: '#2d021c',
    950: '#000000',
  },
}
SCSS
$custom: #2d021c;
$custom-light: #684758;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021c",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 323.721,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20035,
    "c": 0.07821,
    "h": 348.3
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#2D021C
secondary
#19723C
accent
#FF7D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021C

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

Preview Lab → · Contrast checker → · Palette generator →

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