#2D011C#2D011C

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

Color values

HEX#2D011C
RGBrgb(45, 1, 28)
HSLhsl(323, 96%, 9%)
HSVhsv(323, 98%, 18%)
CMYKcmyk(0%, 97.8%, 37.8%, 82.4%)
CIE-LABlab(5.99, 24.85, -6.06)
CIE-LCHlch(5.99, 25.58, 346.30°)
OKLaboklab(19.87% 0.0787 -0.0169)
OKLCHoklch(19.87% 0.081 347.9)
XYZxyz(1.3027, 0.6636, 1.1579)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D011C #012D12
analogous
#28012D #2D011C #2D0106
triadic
#2D011C #1C2D01 #011C2D
tetradic
#2D011C #2D2801 #012D12 #01062D
square
#2D011C #2D2801 #012D12 #01062D
split-complementary
#2D011C #062D01 #012D28
monochromatic
#1E0113 #1E0113 #2D011C #690241 #A50467

Accessibility & contrast

On white

18.54
#2D011C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2D011C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D011C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D011C#FFFFFF#000000##FFFFFF
##2D011C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1D
Deuteranopia (green-blind)
#15161B
Tritanopia (blue-blind)
#31000D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d011c;
/* rgb */ color: rgb(45, 1, 28);
/* oklch */ color: oklch(19.9% 0.081 347.9);
Tailwind
colors: {
  custom: {
    50: '#684658',
    500: '#2d011c',
    950: '#000000',
  },
}
SCSS
$custom: #2d011c;
$custom-light: #684658;
$custom-dark: #000000;
JSON
{
  "hex": "#2d011c",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 28
  },
  "hsl": {
    "h": 323.182,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19866,
    "c": 0.08053,
    "h": 347.9
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2D011C
secondary
#17733A
accent
#FF7C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D011C

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

Preview Lab → · Contrast checker → · Palette generator →

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