#581B42#581B42

#581B42 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.102 H 344.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#581B42
RGBrgb(88, 27, 66)
HSLhsl(322, 53%, 23%)
HSVhsv(322, 69%, 35%)
CMYKcmyk(0%, 69.3%, 25%, 65.5%)
CIE-LABlab(21.03, 32.61, -10.08)
CIE-LCHlch(21.03, 34.13, 342.83°)
OKLaboklab(33.26% 0.0981 -0.0268)
OKLCHoklch(33.26% 0.102 344.7)
XYZxyz(5.4000, 3.2524, 5.4966)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B42 #1B5831
analogous
#4F1B58 #581B42 #581B24
triadic
#581B42 #42581B #1B4258
tetradic
#581B42 #584F1B #1B5831 #1B2458
square
#581B42 #584F1B #1B5831 #1B2458
split-complementary
#581B42 #24581B #1B584F
monochromatic
#170712 #290D1F #581B42 #872965 #B63888

Accessibility & contrast

On white

12.72
#581B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#581B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B42
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B42#FFFFFF#000000##FFFFFF
##581B421.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#333641
Tritanopia (blue-blind)
#5E1A2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b42;
/* rgb */ color: rgb(88, 27, 66);
/* oklch */ color: oklch(33.3% 0.102 344.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c76',
    500: '#581b42',
    950: '#000000',
  },
}
SCSS
$custom: #581b42;
$custom-light: #8a5c76;
$custom-dark: #000000;
JSON
{
  "hex": "#581b42",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 321.639,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.10173,
    "h": 344.7
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#581B42
secondary
#418E5D
accent
#DC804B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581B42

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

Preview Lab → · Contrast checker → · Palette generator →

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