#581F4D#581F4D

#581F4D is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.3% C 0.104 H 335.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#581F4D
RGBrgb(88, 31, 77)
HSLhsl(312, 48%, 23%)
HSVhsv(312, 65%, 35%)
CMYKcmyk(0%, 64.8%, 12.5%, 65.5%)
CIE-LABlab(22.27, 32.50, -15.65)
CIE-LCHlch(22.27, 36.07, 334.29°)
OKLaboklab(34.34% 0.0947 -0.0425)
OKLCHoklch(34.34% 0.104 335.8)
XYZxyz(5.8541, 3.5910, 7.4045)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F4D #1F582A
analogous
#461F58 #581F4D #581F30
triadic
#581F4D #4D581F #1F4D58
tetradic
#581F4D #58461F #1F582A #1F3058
square
#581F4D #58461F #1F582A #1F3058
split-complementary
#581F4D #30581F #1F5846
monochromatic
#170814 #2B0F25 #581F4D #852F75 #B33F9C

Accessibility & contrast

On white

12.22
#581F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F4D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F4D#FFFFFF#000000##FFFFFF
##581F4D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#31384C
Tritanopia (blue-blind)
#5C2232
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581f4d;
/* rgb */ color: rgb(88, 31, 77);
/* oklch */ color: oklch(34.3% 0.104 335.8);
Tailwind
colors: {
  custom: {
    50: '#895f7f',
    500: '#581f4d',
    950: '#000000',
  },
}
SCSS
$custom: #581f4d;
$custom-light: #895f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581f4d",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 311.579,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.10383,
    "h": 335.8
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#581F4D
secondary
#468D54
accent
#D76A50
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #581F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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