#581B4D#581B4D

#581B4D is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.110 H 335.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#581B4D
RGBrgb(88, 27, 77)
HSLhsl(311, 53%, 23%)
HSVhsv(311, 69%, 35%)
CMYKcmyk(0%, 69.3%, 12.5%, 65.5%)
CIE-LABlab(21.56, 34.45, -16.75)
CIE-LCHlch(21.56, 38.31, 334.06°)
OKLaboklab(33.82% 0.1005 -0.0456)
OKLCHoklch(33.82% 0.11 335.6)
XYZxyz(5.7561, 3.3949, 7.3719)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B4D #1B5826
analogous
#451B58 #581B4D #581B2E
triadic
#581B4D #4D581B #1B4D58
tetradic
#581B4D #58451B #1B5826 #1B2E58
square
#581B4D #58451B #1B5826 #1B2E58
split-complementary
#581B4D #2E581B #1B5845
monochromatic
#170714 #290D24 #581B4D #872976 #B6389F

Accessibility & contrast

On white

12.51
#581B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#581B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B4D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B4D#FFFFFF#000000##FFFFFF
##581B4D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4E
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#5D1F31
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581b4d;
/* rgb */ color: rgb(88, 27, 77);
/* oklch */ color: oklch(33.8% 0.110 335.6);
Tailwind
colors: {
  custom: {
    50: '#895c7f',
    500: '#581b4d',
    950: '#000000',
  },
}
SCSS
$custom: #581b4d;
$custom-light: #895c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581b4d",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 310.82,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33823,
    "c": 0.11034,
    "h": 335.6
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#581B4D
secondary
#418E4F
accent
#DC664B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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