#581B4A#581B4A

#581B4A is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.108 H 338.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#581B4A
RGBrgb(88, 27, 74)
HSLhsl(314, 53%, 23%)
HSVhsv(314, 69%, 35%)
CMYKcmyk(0%, 69.3%, 15.9%, 65.5%)
CIE-LABlab(21.41, 33.93, -14.96)
CIE-LCHlch(21.41, 37.08, 336.21°)
OKLaboklab(33.66% 0.1 -0.0405)
OKLCHoklch(33.66% 0.108 338)
XYZxyz(5.6526, 3.3535, 6.8268)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B4A #1B5829
analogous
#471B58 #581B4A #581B2C
triadic
#581B4A #4A581B #1B4A58
tetradic
#581B4A #58471B #1B5829 #1B2C58
square
#581B4A #58471B #1B5829 #1B2C58
split-complementary
#581B4A #2C581B #1B5847
monochromatic
#170714 #290D23 #581B4A #872971 #B63899

Accessibility & contrast

On white

12.57
#581B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#581B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B4A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B4A#FFFFFF#000000##FFFFFF
##581B4A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4B
Deuteranopia (green-blind)
#303748
Tritanopia (blue-blind)
#5D1E2F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b4a;
/* rgb */ color: rgb(88, 27, 74);
/* oklch */ color: oklch(33.7% 0.108 338.0);
Tailwind
colors: {
  custom: {
    50: '#895c7c',
    500: '#581b4a',
    950: '#000000',
  },
}
SCSS
$custom: #581b4a;
$custom-light: #895c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#581b4a",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 313.77,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.10785,
    "h": 338
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#581B4A
secondary
#418E53
accent
#DC6D4B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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