#581F4E#581F4E

#581F4E is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.105 H 335.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#581F4E
RGBrgb(88, 31, 78)
HSLhsl(311, 48%, 23%)
HSVhsv(311, 65%, 35%)
CMYKcmyk(0%, 64.8%, 11.4%, 65.5%)
CIE-LABlab(22.32, 32.68, -16.25)
CIE-LCHlch(22.32, 36.50, 333.57°)
OKLaboklab(34.39% 0.0949 -0.0442)
OKLCHoklch(34.39% 0.105 335)
XYZxyz(5.8897, 3.6052, 7.5919)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F4E #1F5829
analogous
#451F58 #581F4E #581F31
triadic
#581F4E #4E581F #1F4E58
tetradic
#581F4E #58451F #1F5829 #1F3158
square
#581F4E #58451F #1F5829 #1F3158
split-complementary
#581F4E #31581F #1F5845
monochromatic
#170814 #2B0F26 #581F4E #852F76 #B33F9E

Accessibility & contrast

On white

12.20
#581F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F4E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F4E#FFFFFF#000000##FFFFFF
##581F4E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#31384D
Tritanopia (blue-blind)
#5C2233
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581f4e;
/* rgb */ color: rgb(88, 31, 78);
/* oklch */ color: oklch(34.4% 0.105 335.0);
Tailwind
colors: {
  custom: {
    50: '#895f7f',
    500: '#581f4e',
    950: '#000000',
  },
}
SCSS
$custom: #581f4e;
$custom-light: #895f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581f4e",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 310.526,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34395,
    "c": 0.10471,
    "h": 335
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#581F4E
secondary
#468D52
accent
#D76850
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #581F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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