#2D021A#2D021A

#2D021A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.077 H 351.0°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#2D021A
RGBrgb(45, 2, 26)
HSLhsl(327, 91%, 9%)
HSVhsv(327, 96%, 18%)
CMYKcmyk(0%, 95.6%, 42.2%, 82.4%)
CIE-LABlab(6.11, 23.99, -4.32)
CIE-LCHlch(6.11, 24.38, 349.81°)
OKLaboklab(19.93% 0.076 -0.012)
OKLCHoklch(19.93% 0.077 351)
XYZxyz(1.2904, 0.6760, 1.0396)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D021A #022D15
analogous
#2B022D #2D021A #2D0204
triadic
#2D021A #1A2D02 #021A2D
tetradic
#2D021A #2D2B02 #022D15 #02042D
square
#2D021A #2D2B02 #022D15 #02042D
split-complementary
#2D021A #042D02 #022D2B
monochromatic
#1D0111 #1D0111 #2D021A #68053C #A2075E

Accessibility & contrast

On white

18.50
#2D021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D021A
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D021A#FFFFFF#000000##FFFFFF
##2D021A1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1B
Deuteranopia (green-blind)
#161619
Tritanopia (blue-blind)
#31000C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d021a;
/* rgb */ color: rgb(45, 2, 26);
/* oklch */ color: oklch(19.9% 0.077 351.0);
Tailwind
colors: {
  custom: {
    50: '#684756',
    500: '#2d021a',
    950: '#000000',
  },
}
SCSS
$custom: #2d021a;
$custom-light: #684756;
$custom-dark: #000000;
JSON
{
  "hex": "#2d021a",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 326.512,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19931,
    "c": 0.07696,
    "h": 351
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#2D021A
secondary
#197240
accent
#FF8729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D021A

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

Preview Lab → · Contrast checker → · Palette generator →

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