#581B3F#581B3F

#581B3F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.100 H 347.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#581B3F
RGBrgb(88, 27, 63)
HSLhsl(325, 53%, 23%)
HSVhsv(325, 69%, 35%)
CMYKcmyk(0%, 69.3%, 28.4%, 65.5%)
CIE-LABlab(20.90, 32.15, -8.21)
CIE-LCHlch(20.90, 33.18, 345.68°)
OKLaboklab(33.12% 0.0973 -0.0216)
OKLCHoklch(33.12% 0.1 347.5)
XYZxyz(5.3139, 3.2180, 5.0429)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B3F #1B5834
analogous
#521B58 #581B3F #581B21
triadic
#581B3F #3F581B #1B3F58
tetradic
#581B3F #58521B #1B5834 #1B2158
square
#581B3F #58521B #1B5834 #1B2158
split-complementary
#581B3F #21581B #1B5852
monochromatic
#170711 #290D1D #581B3F #872961 #B63882

Accessibility & contrast

On white

12.78
#581B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#581B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B3F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B3F#FFFFFF#000000##FFFFFF
##581B3F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C40
Deuteranopia (green-blind)
#34363E
Tritanopia (blue-blind)
#5E192A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581b3f;
/* rgb */ color: rgb(88, 27, 63);
/* oklch */ color: oklch(33.1% 0.100 347.5);
Tailwind
colors: {
  custom: {
    50: '#8a5c74',
    500: '#581b3f',
    950: '#000000',
  },
}
SCSS
$custom: #581b3f;
$custom-light: #8a5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#581b3f",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 324.59,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33119,
    "c": 0.09968,
    "h": 347.5
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#581B3F
secondary
#418E60
accent
#DC874B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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