#2D021E#2D021E

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

Color values

HEX#2D021E
RGBrgb(45, 2, 30)
HSLhsl(321, 91%, 9%)
HSVhsv(321, 96%, 18%)
CMYKcmyk(0%, 95.6%, 33.3%, 82.4%)
CIE-LABlab(6.28, 24.70, -7.20)
CIE-LCHlch(6.28, 25.73, 343.75°)
OKLaboklab(20.15% 0.0771 -0.0198)
OKLCHoklch(20.15% 0.08 345.6)
XYZxyz(1.3383, 0.6952, 1.2918)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021E #022D11
analogous
#27022D #2D021E #2D0209
triadic
#2D021E #1E2D02 #021E2D
tetradic
#2D021E #2D2702 #022D11 #02092D
square
#2D021E #2D2702 #022D11 #02092D
split-complementary
#2D021E #092D02 #022D27
monochromatic
#1D0114 #1D0114 #2D021E #680545 #A2076C

Accessibility & contrast

On white

18.44
#2D021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021E
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021E#FFFFFF#000000##FFFFFF
##2D021E1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1F
Deuteranopia (green-blind)
#14171D
Tritanopia (blue-blind)
#31010E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021e;
/* rgb */ color: rgb(45, 2, 30);
/* oklch */ color: oklch(20.1% 0.080 345.6);
Tailwind
colors: {
  custom: {
    50: '#684759',
    500: '#2d021e',
    950: '#000000',
  },
}
SCSS
$custom: #2d021e;
$custom-light: #684759;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021e",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 320.93,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20146,
    "c": 0.07957,
    "h": 345.6
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#2D021E
secondary
#197238
accent
#FF7429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021E

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

Preview Lab → · Contrast checker → · Palette generator →

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