#581F4A#581F4A

#581F4A is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.101 H 338.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#581F4A
RGBrgb(88, 31, 74)
HSLhsl(315, 48%, 23%)
HSVhsv(315, 65%, 35%)
CMYKcmyk(0%, 64.8%, 15.9%, 65.5%)
CIE-LABlab(22.12, 31.97, -13.85)
CIE-LCHlch(22.12, 34.84, 336.57°)
OKLaboklab(34.19% 0.0941 -0.0374)
OKLCHoklch(34.19% 0.101 338.3)
XYZxyz(5.7506, 3.5496, 6.8595)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F4A #1F582D
analogous
#491F58 #581F4A #581F2D
triadic
#581F4A #4A581F #1F4A58
tetradic
#581F4A #58491F #1F582D #1F2D58
square
#581F4A #58491F #1F582D #1F2D58
split-complementary
#581F4A #2D581F #1F5849
monochromatic
#170813 #2B0F24 #581F4A #852F70 #B33F96

Accessibility & contrast

On white

12.28
#581F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F4A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F4A#FFFFFF#000000##FFFFFF
##581F4A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4B
Deuteranopia (green-blind)
#323849
Tritanopia (blue-blind)
#5D2131
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581f4a;
/* rgb */ color: rgb(88, 31, 74);
/* oklch */ color: oklch(34.2% 0.101 338.3);
Tailwind
colors: {
  custom: {
    50: '#895e7c',
    500: '#581f4a',
    950: '#000000',
  },
}
SCSS
$custom: #581f4a;
$custom-light: #895e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#581f4a",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 314.737,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.10127,
    "h": 338.3
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#581F4A
secondary
#468D57
accent
#D77250
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #581F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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