#581C40#581C40

#581C40 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.099 H 346.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#581C40
RGBrgb(88, 28, 64)
HSLhsl(324, 52%, 23%)
HSVhsv(324, 68%, 35%)
CMYKcmyk(0%, 68.2%, 27.3%, 65.5%)
CIE-LABlab(21.12, 31.82, -8.56)
CIE-LCHlch(21.12, 32.95, 344.94°)
OKLaboklab(33.3% 0.0961 -0.0226)
OKLCHoklch(33.3% 0.099 346.8)
XYZxyz(5.3654, 3.2759, 5.1992)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C40 #1C5834
analogous
#521C58 #581C40 #581C22
triadic
#581C40 #40581C #1C4058
tetradic
#581C40 #58521C #1C5834 #1C2258
square
#581C40 #58521C #1C5834 #1C2258
split-complementary
#581C40 #22581C #1C5852
monochromatic
#170711 #2A0D1E #581C40 #862B62 #B53A84

Accessibility & contrast

On white

12.69
#581C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#581C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C40
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C40#FFFFFF#000000##FFFFFF
##581C401.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#5E1B2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581c40;
/* rgb */ color: rgb(88, 28, 64);
/* oklch */ color: oklch(33.3% 0.099 346.8);
Tailwind
colors: {
  custom: {
    50: '#8a5d74',
    500: '#581c40',
    950: '#000000',
  },
}
SCSS
$custom: #581c40;
$custom-light: #8a5d74;
$custom-dark: #000000;
JSON
{
  "hex": "#581c40",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 324,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.09873,
    "h": 346.8
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#581C40
secondary
#428E60
accent
#DB864D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581C40

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

Preview Lab → · Contrast checker → · Palette generator →

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