#2D1126#2D1126

#2D1126 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.0% C 0.056 H 337.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2D1126
RGBrgb(45, 17, 38)
HSLhsl(315, 45%, 12%)
HSVhsv(315, 62%, 18%)
CMYKcmyk(0%, 62.2%, 15.6%, 82.4%)
CIE-LABlab(9.79, 17.85, -7.95)
CIE-LCHlch(9.79, 19.54, 335.99°)
OKLaboklab(22.96% 0.0522 -0.0214)
OKLCHoklch(22.96% 0.056 337.7)
XYZxyz(1.6325, 1.0988, 1.9595)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1126 #112D18
analogous
#26112D #2D1126 #2D1118
triadic
#2D1126 #262D11 #11262D
tetradic
#2D1126 #2D2611 #112D18 #11182D
square
#2D1126 #2D2611 #112D18 #11182D
split-complementary
#2D1126 #182D11 #112D26
monochromatic
#160813 #160813 #2D1126 #59224C #863371

Accessibility & contrast

On white

17.22
#2D1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D1126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1126
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1126#FFFFFF#000000##FFFFFF
##2D11261.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121827
Deuteranopia (green-blind)
#1A1D25
Tritanopia (blue-blind)
#301219
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1126;
/* rgb */ color: rgb(45, 17, 38);
/* oklch */ color: oklch(23.0% 0.056 337.7);
Tailwind
colors: {
  custom: {
    50: '#675060',
    500: '#2d1126',
    950: '#000000',
  },
}
SCSS
$custom: #2d1126;
$custom-light: #675060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1126",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 315,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22958,
    "c": 0.05637,
    "h": 337.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2D1126
secondary
#356541
accent
#D57353
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2D1126

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

Preview Lab → · Contrast checker → · Palette generator →

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