#581D42#581D42

#581D42 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.098 H 345.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#581D42
RGBrgb(88, 29, 66)
HSLhsl(322, 50%, 23%)
HSVhsv(322, 67%, 35%)
CMYKcmyk(0%, 67%, 25%, 65.5%)
CIE-LABlab(21.38, 31.64, -9.53)
CIE-LCHlch(21.38, 33.04, 343.23°)
OKLaboklab(33.52% 0.0952 -0.0253)
OKLCHoklch(33.52% 0.098 345.1)
XYZxyz(5.4474, 3.3473, 5.5124)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D42 #1D5833
analogous
#501D58 #581D42 #581D24
triadic
#581D42 #42581D #1D4258
tetradic
#581D42 #58501D #1D5833 #1D2458
square
#581D42 #58501D #1D5833 #1D2458
split-complementary
#581D42 #24581D #1D5850
monochromatic
#170811 #2A0E1F #581D42 #862C65 #B43B87

Accessibility & contrast

On white

12.58
#581D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#581D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D42
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D42#FFFFFF#000000##FFFFFF
##581D421.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#343741
Tritanopia (blue-blind)
#5E1C2C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581d42;
/* rgb */ color: rgb(88, 29, 66);
/* oklch */ color: oklch(33.5% 0.098 345.1);
Tailwind
colors: {
  custom: {
    50: '#895d76',
    500: '#581d42',
    950: '#000000',
  },
}
SCSS
$custom: #581d42;
$custom-light: #895d76;
$custom-dark: #000000;
JSON
{
  "hex": "#581d42",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 322.373,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33521,
    "c": 0.09846,
    "h": 345.1
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#581D42
secondary
#448D5F
accent
#DA824E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581D42

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

Preview Lab → · Contrast checker → · Palette generator →

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