#581C42#581C42

#581C42 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.100 H 344.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#581C42
RGBrgb(88, 28, 66)
HSLhsl(322, 52%, 23%)
HSVhsv(322, 68%, 35%)
CMYKcmyk(0%, 68.2%, 25%, 65.5%)
CIE-LABlab(21.20, 32.13, -9.81)
CIE-LCHlch(21.20, 33.59, 343.03°)
OKLaboklab(33.39% 0.0967 -0.026)
OKLCHoklch(33.39% 0.1 344.9)
XYZxyz(5.4233, 3.2991, 5.5044)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C42 #1C5832
analogous
#501C58 #581C42 #581C24
triadic
#581C42 #42581C #1C4258
tetradic
#581C42 #58501C #1C5832 #1C2458
square
#581C42 #58501C #1C5832 #1C2458
split-complementary
#581C42 #24581C #1C5850
monochromatic
#170711 #2A0D1F #581C42 #862B65 #B53A88

Accessibility & contrast

On white

12.65
#581C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C42
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C42#FFFFFF#000000##FFFFFF
##581C421.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C43
Deuteranopia (green-blind)
#333741
Tritanopia (blue-blind)
#5E1B2C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581c42;
/* rgb */ color: rgb(88, 28, 66);
/* oklch */ color: oklch(33.4% 0.100 344.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d76',
    500: '#581c42',
    950: '#000000',
  },
}
SCSS
$custom: #581c42;
$custom-light: #8a5d76;
$custom-dark: #000000;
JSON
{
  "hex": "#581c42",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 322,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.10011,
    "h": 344.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#581C42
secondary
#428E5E
accent
#DB814D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581C42

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

Preview Lab → · Contrast checker → · Palette generator →

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