#581B40#581B40

#581B40 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.100 H 346.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#581B40
RGBrgb(88, 27, 64)
HSLhsl(324, 53%, 23%)
HSVhsv(324, 69%, 35%)
CMYKcmyk(0%, 69.3%, 27.3%, 65.5%)
CIE-LABlab(20.94, 32.30, -8.83)
CIE-LCHlch(20.94, 33.49, 344.71°)
OKLaboklab(33.16% 0.0976 -0.0233)
OKLCHoklch(33.16% 0.1 346.6)
XYZxyz(5.3421, 3.2293, 5.1915)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B40 #1B5833
analogous
#521B58 #581B40 #581B21
triadic
#581B40 #40581B #1B4058
tetradic
#581B40 #58521B #1B5833 #1B2158
square
#581B40 #58521B #1B5833 #1B2158
split-complementary
#581B40 #21581B #1B5852
monochromatic
#170711 #290D1E #581B40 #872962 #B63884

Accessibility & contrast

On white

12.76
#581B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B40
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B40#FFFFFF#000000##FFFFFF
##581B401.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#5E1A2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581b40;
/* rgb */ color: rgb(88, 27, 64);
/* oklch */ color: oklch(33.2% 0.100 346.6);
Tailwind
colors: {
  custom: {
    50: '#8a5c74',
    500: '#581b40',
    950: '#000000',
  },
}
SCSS
$custom: #581b40;
$custom-light: #8a5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#581b40",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 323.607,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.10035,
    "h": 346.6
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#581B40
secondary
#418E5F
accent
#DC844B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581B40

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

Preview Lab → · Contrast checker → · Palette generator →

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