#581D4E#581D4E

#581D4E is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.108 H 334.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#581D4E
RGBrgb(88, 29, 78)
HSLhsl(310, 50%, 23%)
HSVhsv(310, 67%, 35%)
CMYKcmyk(0%, 67%, 11.4%, 65.5%)
CIE-LABlab(21.96, 33.67, -16.81)
CIE-LCHlch(21.96, 37.64, 333.47°)
OKLaboklab(34.13% 0.0978 -0.0458)
OKLCHoklch(34.13% 0.108 334.9)
XYZxyz(5.8391, 3.5040, 7.5750)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D4E #1D5827
analogous
#441D58 #581D4E #581D31
triadic
#581D4E #4E581D #1D4E58
tetradic
#581D4E #58441D #1D5827 #1D3158
square
#581D4E #58441D #1D5827 #1D3158
split-complementary
#581D4E #31581D #1D5844
monochromatic
#170814 #2A0E25 #581D4E #862C77 #B43BA0

Accessibility & contrast

On white

12.35
#581D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D4E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D4E#FFFFFF#000000##FFFFFF
##581D4E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#30384C
Tritanopia (blue-blind)
#5C2132
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581d4e;
/* rgb */ color: rgb(88, 29, 78);
/* oklch */ color: oklch(34.1% 0.108 334.9);
Tailwind
colors: {
  custom: {
    50: '#895e7f',
    500: '#581d4e',
    950: '#000000',
  },
}
SCSS
$custom: #581d4e;
$custom-light: #895e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581d4e",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 310.169,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3413,
    "c": 0.10801,
    "h": 334.9
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#581D4E
secondary
#448D50
accent
#DA664E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#581D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva