#581B47#581B47

#581B47 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.105 H 340.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#581B47
RGBrgb(88, 27, 71)
HSLhsl(317, 53%, 23%)
HSVhsv(317, 69%, 35%)
CMYKcmyk(0%, 69.3%, 19.3%, 65.5%)
CIE-LABlab(21.26, 33.42, -13.14)
CIE-LCHlch(21.26, 35.91, 338.53°)
OKLaboklab(33.51% 0.0993 -0.0353)
OKLCHoklch(33.51% 0.105 340.4)
XYZxyz(5.5539, 3.3140, 6.3072)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B47 #1B582C
analogous
#4A1B58 #581B47 #581B29
triadic
#581B47 #47581B #1B4758
tetradic
#581B47 #584A1B #1B582C #1B2958
square
#581B47 #584A1B #1B582C #1B2958
split-complementary
#581B47 #29581B #1B584A
monochromatic
#170713 #290D21 #581B47 #87296D #B63893

Accessibility & contrast

On white

12.63
#581B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#581B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B47
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B47#FFFFFF#000000##FFFFFF
##581B471.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#313745
Tritanopia (blue-blind)
#5D1C2E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b47;
/* rgb */ color: rgb(88, 27, 71);
/* oklch */ color: oklch(33.5% 0.105 340.4);
Tailwind
colors: {
  custom: {
    50: '#895c7a',
    500: '#581b47',
    950: '#000000',
  },
}
SCSS
$custom: #581b47;
$custom-light: #895c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#581b47",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 316.721,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33505,
    "c": 0.10545,
    "h": 340.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#581B47
secondary
#418E56
accent
#DC744B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581B47

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

Preview Lab → · Contrast checker → · Palette generator →

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