#2D021F#2D021F

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

Color values

HEX#2D021F
RGBrgb(45, 2, 31)
HSLhsl(320, 91%, 9%)
HSVhsv(320, 96%, 18%)
CMYKcmyk(0%, 95.6%, 31.1%, 82.4%)
CIE-LABlab(6.33, 24.89, -7.91)
CIE-LCHlch(6.33, 26.12, 342.37°)
OKLaboklab(20.2% 0.0773 -0.0217)
OKLCHoklch(20.2% 0.08 344.3)
XYZxyz(1.3513, 0.7004, 1.3601)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021F #022D10
analogous
#26022D #2D021F #2D020A
triadic
#2D021F #1F2D02 #021F2D
tetradic
#2D021F #2D2602 #022D10 #020A2D
square
#2D021F #2D2602 #022D10 #020A2D
split-complementary
#2D021F #0A2D02 #022D26
monochromatic
#1D0114 #1D0114 #2D021F #680547 #A20770

Accessibility & contrast

On white

18.42
#2D021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021F#FFFFFF#000000##FFFFFF
##2D021F1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#31020F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021f;
/* rgb */ color: rgb(45, 2, 31);
/* oklch */ color: oklch(20.2% 0.080 344.3);
Tailwind
colors: {
  custom: {
    50: '#68475a',
    500: '#2d021f',
    950: '#000000',
  },
}
SCSS
$custom: #2d021f;
$custom-light: #68475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021f",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 319.535,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20204,
    "c": 0.08028,
    "h": 344.3
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#2D021F
secondary
#197236
accent
#FF6F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021F

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

Preview Lab → · Contrast checker → · Palette generator →

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