#581B38#581B38

#581B38 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.096 H 354.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#581B38
RGBrgb(88, 27, 56)
HSLhsl(331, 53%, 23%)
HSVhsv(331, 69%, 35%)
CMYKcmyk(0%, 69.3%, 36.4%, 65.5%)
CIE-LABlab(20.61, 31.14, -3.78)
CIE-LCHlch(20.61, 31.37, 353.07°)
OKLaboklab(32.82% 0.0951 -0.0096)
OKLCHoklch(32.82% 0.096 354.2)
XYZxyz(5.1305, 3.1447, 4.0774)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B38 #1B583B
analogous
#581B57 #581B38 #581C1B
triadic
#581B38 #38581B #1B3858
tetradic
#581B38 #57581B #1B583B #1C1B58
square
#581B38 #57581B #1B583B #1C1B58
split-complementary
#581B38 #1B581C #1B5758
monochromatic
#17070F #290D1A #581B38 #872956 #B63874

Accessibility & contrast

On white

12.89
#581B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B38
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B38#FFFFFF#000000##FFFFFF
##581B381.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#5F1727
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581b38;
/* rgb */ color: rgb(88, 27, 56);
/* oklch */ color: oklch(32.8% 0.096 354.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c6e',
    500: '#581b38',
    950: '#000000',
  },
}
SCSS
$custom: #581b38;
$custom-light: #8a5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#581b38",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 331.475,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.09554,
    "h": 354.2
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#581B38
secondary
#418E69
accent
#DC974B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #581B38

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

Preview Lab → · Contrast checker → · Palette generator →

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