#2D011B#2D011B

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

Color values

HEX#2D011B
RGBrgb(45, 1, 27)
HSLhsl(325, 96%, 9%)
HSVhsv(325, 98%, 18%)
CMYKcmyk(0%, 97.8%, 40%, 82.4%)
CIE-LABlab(5.95, 24.68, -5.33)
CIE-LCHlch(5.95, 25.25, 347.80°)
OKLaboklab(19.81% 0.0785 -0.0149)
OKLCHoklch(19.81% 0.08 349.2)
XYZxyz(1.2910, 0.6589, 1.0959)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D011B #012D13
analogous
#29012D #2D011B #2D0105
triadic
#2D011B #1B2D01 #011B2D
tetradic
#2D011B #2D2901 #012D13 #01052D
square
#2D011B #2D2901 #012D13 #01052D
split-complementary
#2D011B #052D01 #012D29
monochromatic
#1E0112 #1E0112 #2D011B #69023F #A50463

Accessibility & contrast

On white

18.55
#2D011B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D011B
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D011B#FFFFFF#000000##FFFFFF
##2D011B1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1C
Deuteranopia (green-blind)
#15161A
Tritanopia (blue-blind)
#31000C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d011b;
/* rgb */ color: rgb(45, 1, 27);
/* oklch */ color: oklch(19.8% 0.080 349.2);
Tailwind
colors: {
  custom: {
    50: '#684657',
    500: '#2d011b',
    950: '#000000',
  },
}
SCSS
$custom: #2d011b;
$custom-light: #684657;
$custom-dark: #000000;
JSON
{
  "hex": "#2d011b",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 27
  },
  "hsl": {
    "h": 324.545,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19812,
    "c": 0.07988,
    "h": 349.2
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#2D011B
secondary
#17733D
accent
#FF8029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D011B

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

Preview Lab → · Contrast checker → · Palette generator →

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