#2D011F#2D011F

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

Color values

HEX#2D011F
RGBrgb(45, 1, 31)
HSLhsl(319, 96%, 9%)
HSVhsv(319, 98%, 18%)
CMYKcmyk(0%, 97.8%, 31.1%, 82.4%)
CIE-LABlab(6.13, 25.41, -8.21)
CIE-LCHlch(6.13, 26.70, 342.10°)
OKLaboklab(20.04% 0.0794 -0.0227)
OKLCHoklch(20.04% 0.083 344)
XYZxyz(1.3404, 0.6787, 1.3565)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D011F #012D0F
analogous
#25012D #2D011F #2D0109
triadic
#2D011F #1F2D01 #011F2D
tetradic
#2D011F #2D2501 #012D0F #01092D
square
#2D011F #2D2501 #012D0F #01092D
split-complementary
#2D011F #092D01 #012D25
monochromatic
#1E0115 #1E0115 #2D011F #690248 #A50471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D011F#FFFFFF#000000##FFFFFF
##2D011F1.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)
#050F20
Deuteranopia (green-blind)
#14161E
Tritanopia (blue-blind)
#31010E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d011f;
/* rgb */ color: rgb(45, 1, 31);
/* oklch */ color: oklch(20.0% 0.083 344.0);
Tailwind
colors: {
  custom: {
    50: '#68475a',
    500: '#2d011f',
    950: '#000000',
  },
}
SCSS
$custom: #2d011f;
$custom-light: #68475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d011f",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 319.091,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20037,
    "c": 0.08256,
    "h": 344
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#2D011F
secondary
#177334
accent
#FF6D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D011F

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

Preview Lab → · Contrast checker → · Palette generator →

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