#581B31#581B31

#581B31 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.092 H 1.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#581B31
RGBrgb(88, 27, 49)
HSLhsl(338, 53%, 23%)
HSVhsv(338, 69%, 35%)
CMYKcmyk(0%, 69.3%, 44.3%, 65.5%)
CIE-LABlab(20.36, 30.24, 0.73)
CIE-LCHlch(20.36, 30.25, 1.39°)
OKLaboklab(32.55% 0.0924 0.0023)
OKLCHoklch(32.55% 0.092 1.4)
XYZxyz(4.9711, 3.0809, 3.2380)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B31 #1B5842
analogous
#581B4F #581B31 #58241B
triadic
#581B31 #31581B #1B3158
tetradic
#581B31 #4F581B #1B5842 #241B58
square
#581B31 #4F581B #1B5842 #241B58
split-complementary
#581B31 #1B5824 #1B4F58
monochromatic
#17070D #290D17 #581B31 #87294B #B63865

Accessibility & contrast

On white

13.00
#581B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B31
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B31#FFFFFF#000000##FFFFFF
##581B311.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#373530
Tritanopia (blue-blind)
#601424
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581b31;
/* rgb */ color: rgb(88, 27, 49);
/* oklch */ color: oklch(32.6% 0.092 1.4);
Tailwind
colors: {
  custom: {
    50: '#8a5c68',
    500: '#581b31',
    950: '#000000',
  },
}
SCSS
$custom: #581b31;
$custom-light: #8a5c68;
$custom-dark: #000000;
JSON
{
  "hex": "#581b31",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 338.361,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.09245,
    "h": 1.4
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#581B31
secondary
#418E72
accent
#DCA84B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #581B31

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

Preview Lab → · Contrast checker → · Palette generator →

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