#581C47#581C47

#581C47 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.6% C 0.104 H 340.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#581C47
RGBrgb(88, 28, 71)
HSLhsl(317, 52%, 23%)
HSVhsv(317, 68%, 35%)
CMYKcmyk(0%, 68.2%, 19.3%, 65.5%)
CIE-LABlab(21.43, 32.94, -12.88)
CIE-LCHlch(21.43, 35.37, 338.65°)
OKLaboklab(33.63% 0.0979 -0.0346)
OKLCHoklch(33.63% 0.104 340.5)
XYZxyz(5.5772, 3.3606, 6.3150)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C47 #1C582D
analogous
#4B1C58 #581C47 #581C29
triadic
#581C47 #47581C #1C4758
tetradic
#581C47 #584B1C #1C582D #1C2958
square
#581C47 #584B1C #1C582D #1C2958
split-complementary
#581C47 #29581C #1C584B
monochromatic
#170713 #2A0D22 #581C47 #862B6C #B53A92

Accessibility & contrast

On white

12.56
#581C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C47
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C47#FFFFFF#000000##FFFFFF
##581C471.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D48
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#5D1D2E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581c47;
/* rgb */ color: rgb(88, 28, 71);
/* oklch */ color: oklch(33.6% 0.104 340.5);
Tailwind
colors: {
  custom: {
    50: '#895d7a',
    500: '#581c47',
    950: '#000000',
  },
}
SCSS
$custom: #581c47;
$custom-light: #895d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#581c47",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 317,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.10385,
    "h": 340.5
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#581C47
secondary
#428E58
accent
#DB754D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581C47

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

Preview Lab → · Contrast checker → · Palette generator →

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