#581B48#581B48

#581B48 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.106 H 339.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#581B48
RGBrgb(88, 27, 72)
HSLhsl(316, 53%, 23%)
HSVhsv(316, 69%, 35%)
CMYKcmyk(0%, 69.3%, 18.2%, 65.5%)
CIE-LABlab(21.31, 33.59, -13.75)
CIE-LCHlch(21.31, 36.30, 337.74°)
OKLaboklab(33.56% 0.0996 -0.0371)
OKLCHoklch(33.56% 0.106 339.6)
XYZxyz(5.5863, 3.3269, 6.4776)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B48 #1B582B
analogous
#4A1B58 #581B48 #581B29
triadic
#581B48 #48581B #1B4858
tetradic
#581B48 #584A1B #1B582B #1B2958
square
#581B48 #584A1B #1B582B #1B2958
split-complementary
#581B48 #29581B #1B584A
monochromatic
#170713 #290D22 #581B48 #87296E #B63895

Accessibility & contrast

On white

12.61
#581B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B48
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B48#FFFFFF#000000##FFFFFF
##581B481.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#5D1D2E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b48;
/* rgb */ color: rgb(88, 27, 72);
/* oklch */ color: oklch(33.6% 0.106 339.6);
Tailwind
colors: {
  custom: {
    50: '#895c7b',
    500: '#581b48',
    950: '#000000',
  },
}
SCSS
$custom: #581b48;
$custom-light: #895c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#581b48",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 315.738,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.10623,
    "h": 339.6
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#581B48
secondary
#418E55
accent
#DC714B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581B48

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

Preview Lab → · Contrast checker → · Palette generator →

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