#581C4E#581C4E

#581C4E is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.110 H 334.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#581C4E
RGBrgb(88, 28, 78)
HSLhsl(310, 52%, 23%)
HSVhsv(310, 68%, 35%)
CMYKcmyk(0%, 68.2%, 11.4%, 65.5%)
CIE-LABlab(21.78, 34.16, -17.08)
CIE-LCHlch(21.78, 38.19, 333.43°)
OKLaboklab(34% 0.0993 -0.0465)
OKLCHoklch(34% 0.11 334.9)
XYZxyz(5.8149, 3.4557, 7.5670)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C4E #1C5826
analogous
#441C58 #581C4E #581C30
triadic
#581C4E #4E581C #1C4E58
tetradic
#581C4E #58441C #1C5826 #1C3058
square
#581C4E #58441C #1C5826 #1C3058
split-complementary
#581C4E #30581C #1C5844
monochromatic
#170715 #2A0D25 #581C4E #862B77 #B53AA0

Accessibility & contrast

On white

12.42
#581C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C4E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C4E#FFFFFF#000000##FFFFFF
##581C4E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E50
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#5C2032
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581c4e;
/* rgb */ color: rgb(88, 28, 78);
/* oklch */ color: oklch(34.0% 0.110 334.9);
Tailwind
colors: {
  custom: {
    50: '#895d7f',
    500: '#581c4e',
    950: '#000000',
  },
}
SCSS
$custom: #581c4e;
$custom-light: #895d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581c4e",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 310,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34002,
    "c": 0.10962,
    "h": 334.9
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#581C4E
secondary
#428E4F
accent
#DB644D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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