#581E4D#581E4D

#581E4D is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.106 H 335.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#581E4D
RGBrgb(88, 30, 77)
HSLhsl(311, 49%, 23%)
HSVhsv(311, 66%, 35%)
CMYKcmyk(0%, 65.9%, 12.5%, 65.5%)
CIE-LABlab(22.09, 33.00, -15.94)
CIE-LCHlch(22.09, 36.65, 334.22°)
OKLaboklab(34.21% 0.0962 -0.0433)
OKLCHoklch(34.21% 0.106 335.8)
XYZxyz(5.8284, 3.5395, 7.3960)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E4D #1E5829
analogous
#461E58 #581E4D #581E30
triadic
#581E4D #4D581E #1E4D58
tetradic
#581E4D #58461E #1E5829 #1E3058
square
#581E4D #58461E #1E5829 #1E3058
split-complementary
#581E4D #30581E #1E5846
monochromatic
#170814 #2A0E25 #581E4D #862E75 #B33D9D

Accessibility & contrast

On white

12.30
#581E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E4D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E4D#FFFFFF#000000##FFFFFF
##581E4D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#5D2132
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581e4d;
/* rgb */ color: rgb(88, 30, 77);
/* oklch */ color: oklch(34.2% 0.106 335.8);
Tailwind
colors: {
  custom: {
    50: '#895e7f',
    500: '#581e4d',
    950: '#000000',
  },
}
SCSS
$custom: #581e4d;
$custom-light: #895e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581e4d",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 311.379,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34207,
    "c": 0.10551,
    "h": 335.8
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#581E4D
secondary
#458D52
accent
#D9694F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #581E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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