#581031#581031

#581031 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.107 H 357.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#581031
RGBrgb(88, 16, 49)
HSLhsl(333, 69%, 20%)
HSVhsv(333, 82%, 35%)
CMYKcmyk(0%, 81.8%, 44.3%, 65.5%)
CIE-LABlab(18.66, 34.96, -1.76)
CIE-LCHlch(18.66, 35.01, 357.12°)
OKLaboklab(31.29% 0.1074 -0.0042)
OKLCHoklch(31.29% 0.107 357.8)
XYZxyz(4.7645, 2.6676, 3.1691)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581031 #105837
analogous
#581055 #581031 #581310
triadic
#581031 #315810 #103158
tetradic
#581031 #555810 #105837 #131058
square
#581031 #555810 #105837 #131058
split-complementary
#581031 #105813 #105558
monochromatic
#1A050E #240714 #581031 #8C194E #C0236B

Accessibility & contrast

On white

13.70
#581031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#581031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581031
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581031#FFFFFF#000000##FFFFFF
##5810311.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2532
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#60061F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581031;
/* rgb */ color: rgb(88, 16, 49);
/* oklch */ color: oklch(31.3% 0.107 357.8);
Tailwind
colors: {
  custom: {
    50: '#8b5668',
    500: '#581031',
    950: '#000000',
  },
}
SCSS
$custom: #581031;
$custom-light: #8b5668;
$custom-dark: #000000;
JSON
{
  "hex": "#581031",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 332.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.10749,
    "h": 357.8
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#581031
secondary
#329166
accent
#EC9B3C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #581031

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

Preview Lab → · Contrast checker → · Palette generator →

#581031 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva