#2D041B#2D041B

#2D041B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.073 H 350.5°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#2D041B
RGBrgb(45, 4, 27)
HSLhsl(326, 84%, 10%)
HSVhsv(326, 91%, 18%)
CMYKcmyk(0%, 91.1%, 40%, 82.4%)
CIE-LABlab(6.54, 23.14, -4.46)
CIE-LCHlch(6.54, 23.56, 349.09°)
OKLaboklab(20.32% 0.0722 -0.0121)
OKLCHoklch(20.32% 0.073 350.5)
XYZxyz(1.3235, 0.7240, 1.1067)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D041B #042D16
analogous
#2B042D #2D041B #2D0407
triadic
#2D041B #1B2D04 #041B2D
tetradic
#2D041B #2D2B04 #042D16 #04072D
square
#2D041B #2D2B04 #042D16 #04072D
split-complementary
#2D041B #072D04 #042D2B
monochromatic
#1C0211 #1C0211 #2D041B #65093D #9D0E5E

Accessibility & contrast

On white

18.34
#2D041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D041B
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D041B#FFFFFF#000000##FFFFFF
##2D041B1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101C
Deuteranopia (green-blind)
#16171A
Tritanopia (blue-blind)
#31020E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d041b;
/* rgb */ color: rgb(45, 4, 27);
/* oklch */ color: oklch(20.3% 0.073 350.5);
Tailwind
colors: {
  custom: {
    50: '#684857',
    500: '#2d041b',
    950: '#000000',
  },
}
SCSS
$custom: #2d041b;
$custom-light: #684857;
$custom-dark: #000000;
JSON
{
  "hex": "#2d041b",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 326.341,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20315,
    "c": 0.07317,
    "h": 350.5
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#2D041B
secondary
#1D7041
accent
#FA872E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D041B

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

Preview Lab → · Contrast checker → · Palette generator →

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