#2D051B#2D051B

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

Color values

HEX#2D051B
RGBrgb(45, 5, 27)
HSLhsl(327, 80%, 10%)
HSVhsv(327, 89%, 18%)
CMYKcmyk(0%, 88.9%, 40%, 82.4%)
CIE-LABlab(6.74, 22.62, -4.17)
CIE-LCHlch(6.74, 23.00, 349.55°)
OKLaboklab(20.48% 0.0702 -0.0112)
OKLCHoklch(20.48% 0.071 351)
XYZxyz(1.3344, 0.7457, 1.1104)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D051B #052D17
analogous
#2B052D #2D051B #2D0507
triadic
#2D051B #1B2D05 #051B2D
tetradic
#2D051B #2D2B05 #052D17 #05072D
square
#2D051B #2D2B05 #052D17 #05072D
split-complementary
#2D051B #072D05 #052D2B
monochromatic
#1C0311 #1C0311 #2D051B #640B3C #9B115D

Accessibility & contrast

On white

18.27
#2D051B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2D051B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D051B
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D051B#FFFFFF#000000##FFFFFF
##2D051B1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101C
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#31030E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2d051b;
/* rgb */ color: rgb(45, 5, 27);
/* oklch */ color: oklch(20.5% 0.071 351.0);
Tailwind
colors: {
  custom: {
    50: '#684957',
    500: '#2d051b',
    950: '#000000',
  },
}
SCSS
$custom: #2d051b;
$custom-light: #684957;
$custom-dark: #000000;
JSON
{
  "hex": "#2d051b",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 27
  },
  "hsl": {
    "h": 327,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20477,
    "c": 0.07106,
    "h": 351
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#2D051B
secondary
#1F6F43
accent
#F68A31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D051B

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

Preview Lab → · Contrast checker → · Palette generator →

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