#581A4D#581A4D

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

Color values

HEX#581A4D
RGBrgb(88, 26, 77)
HSLhsl(311, 54%, 22%)
HSVhsv(311, 70%, 35%)
CMYKcmyk(0%, 70.5%, 12.5%, 65.5%)
CIE-LABlab(21.39, 34.91, -17.02)
CIE-LCHlch(21.39, 38.84, 334.02°)
OKLaboklab(33.7% 0.1019 -0.0463)
OKLCHoklch(33.7% 0.112 335.5)
XYZxyz(5.7335, 3.3498, 7.3643)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A4D #1A5825
analogous
#441A58 #581A4D #581A2E
triadic
#581A4D #4D581A #1A4D58
tetradic
#581A4D #58441A #1A5825 #1A2E58
square
#581A4D #58441A #1A5825 #1A2E58
split-complementary
#581A4D #2E581A #1A5844
monochromatic
#180715 #290C24 #581A4D #872876 #B636A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581A4D#FFFFFF#000000##FFFFFF
##581A4D1.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)
#1A2D4F
Deuteranopia (green-blind)
#2E374B
Tritanopia (blue-blind)
#5D1E31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581a4d;
/* rgb */ color: rgb(88, 26, 77);
/* oklch */ color: oklch(33.7% 0.112 335.5);
Tailwind
colors: {
  custom: {
    50: '#895c7f',
    500: '#581a4d',
    950: '#000000',
  },
}
SCSS
$custom: #581a4d;
$custom-light: #895c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581a4d",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 310.645,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33701,
    "c": 0.1119,
    "h": 335.5
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#581A4D
secondary
#408E4E
accent
#DE644A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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