#2D021B#2D021B

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

Color values

HEX#2D021B
RGBrgb(45, 2, 27)
HSLhsl(325, 91%, 9%)
HSVhsv(325, 96%, 18%)
CMYKcmyk(0%, 95.6%, 40%, 82.4%)
CIE-LABlab(6.15, 24.16, -5.04)
CIE-LCHlch(6.15, 24.69, 348.21°)
OKLaboklab(19.98% 0.0763 -0.0139)
OKLCHoklch(19.98% 0.078 349.7)
XYZxyz(1.3018, 0.6806, 1.0995)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021B #022D14
analogous
#2A022D #2D021B #2D0206
triadic
#2D021B #1B2D02 #021B2D
tetradic
#2D021B #2D2A02 #022D14 #02062D
square
#2D021B #2D2A02 #022D14 #02062D
split-complementary
#2D021B #062D02 #022D2A
monochromatic
#1D0112 #1D0112 #2D021B #68053E #A20761

Accessibility & contrast

On white

18.49
#2D021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021B
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021B#FFFFFF#000000##FFFFFF
##2D021B1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1C
Deuteranopia (green-blind)
#15161A
Tritanopia (blue-blind)
#31000D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021b;
/* rgb */ color: rgb(45, 2, 27);
/* oklch */ color: oklch(20.0% 0.078 349.7);
Tailwind
colors: {
  custom: {
    50: '#684757',
    500: '#2d021b',
    950: '#000000',
  },
}
SCSS
$custom: #2d021b;
$custom-light: #684757;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021b",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 325.116,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19982,
    "c": 0.07757,
    "h": 349.7
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#2D021B
secondary
#19723E
accent
#FF8229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021B

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

Preview Lab → · Contrast checker → · Palette generator →

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