#2D011A#2D011A

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

Color values

HEX#2D011A
RGBrgb(45, 1, 26)
HSLhsl(326, 96%, 9%)
HSVhsv(326, 98%, 18%)
CMYKcmyk(0%, 97.8%, 42.2%, 82.4%)
CIE-LABlab(5.91, 24.50, -4.60)
CIE-LCHlch(5.91, 24.93, 349.36°)
OKLaboklab(19.76% 0.0782 -0.0129)
OKLCHoklch(19.76% 0.079 350.6)
XYZxyz(1.2796, 0.6543, 1.0360)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D011A #012D14
analogous
#2A012D #2D011A #2D0104
triadic
#2D011A #1A2D01 #011A2D
tetradic
#2D011A #2D2A01 #012D14 #01042D
square
#2D011A #2D2A01 #012D14 #01042D
split-complementary
#2D011A #042D01 #012D2A
monochromatic
#1E0111 #1E0111 #2D011A #69023D #A5045F

Accessibility & contrast

On white

18.57
#2D011A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D011A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D011A#FFFFFF#000000##FFFFFF
##2D011A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1B
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#31000B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d011a;
/* rgb */ color: rgb(45, 1, 26);
/* oklch */ color: oklch(19.8% 0.079 350.6);
Tailwind
colors: {
  custom: {
    50: '#684656',
    500: '#2d011a',
    950: '#000000',
  },
}
SCSS
$custom: #2d011a;
$custom-light: #684656;
$custom-dark: #000000;
JSON
{
  "hex": "#2d011a",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 26
  },
  "hsl": {
    "h": 325.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19759,
    "c": 0.07927,
    "h": 350.6
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#2D011A
secondary
#17733F
accent
#FF8529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D011A

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

Preview Lab → · Contrast checker → · Palette generator →

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