#581B4B#581B4B

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

Color values

HEX#581B4B
RGBrgb(88, 27, 75)
HSLhsl(313, 53%, 23%)
HSVhsv(313, 69%, 35%)
CMYKcmyk(0%, 69.3%, 14.8%, 65.5%)
CIE-LABlab(21.46, 34.10, -15.56)
CIE-LCHlch(21.46, 37.48, 335.47°)
OKLaboklab(33.71% 0.1002 -0.0422)
OKLCHoklch(33.71% 0.109 337.2)
XYZxyz(5.6865, 3.3671, 7.0057)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B4B #1B5828
analogous
#461B58 #581B4B #581B2C
triadic
#581B4B #4B581B #1B4B58
tetradic
#581B4B #58461B #1B5828 #1B2C58
square
#581B4B #58461B #1B5828 #1B2C58
split-complementary
#581B4B #2C581B #1B5846
monochromatic
#170714 #290D23 #581B4B #872973 #B6389B

Accessibility & contrast

On white

12.55
#581B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B4B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B4B#FFFFFF#000000##FFFFFF
##581B4B1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4C
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#5D1E30
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b4b;
/* rgb */ color: rgb(88, 27, 75);
/* oklch */ color: oklch(33.7% 0.109 337.2);
Tailwind
colors: {
  custom: {
    50: '#895c7d',
    500: '#581b4b',
    950: '#000000',
  },
}
SCSS
$custom: #581b4b;
$custom-light: #895c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#581b4b",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 312.787,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.10867,
    "h": 337.2
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#581B4B
secondary
#418E51
accent
#DC6A4B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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