#581F48#581F48

#581F48 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.100 H 340.1°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#581F48
RGBrgb(88, 31, 72)
HSLhsl(317, 48%, 23%)
HSVhsv(317, 65%, 35%)
CMYKcmyk(0%, 64.8%, 18.2%, 65.5%)
CIE-LABlab(22.03, 31.62, -12.64)
CIE-LCHlch(22.03, 34.05, 338.21°)
OKLaboklab(34.08% 0.0937 -0.034)
OKLCHoklch(34.08% 0.1 340.1)
XYZxyz(5.6843, 3.5230, 6.5103)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F48 #1F582F
analogous
#4B1F58 #581F48 #581F2B
triadic
#581F48 #48581F #1F4858
tetradic
#581F48 #584B1F #1F582F #1F2B58
square
#581F48 #584B1F #1F582F #1F2B58
split-complementary
#581F48 #2B581F #1F584B
monochromatic
#170813 #2B0F23 #581F48 #852F6D #B33F92

Accessibility & contrast

On white

12.32
#581F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F48
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F48#FFFFFF#000000##FFFFFF
##581F481.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F49
Deuteranopia (green-blind)
#333847
Tritanopia (blue-blind)
#5D2030
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581f48;
/* rgb */ color: rgb(88, 31, 72);
/* oklch */ color: oklch(34.1% 0.100 340.1);
Tailwind
colors: {
  custom: {
    50: '#895e7b',
    500: '#581f48',
    950: '#000000',
  },
}
SCSS
$custom: #581f48;
$custom-light: #895e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#581f48",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 316.842,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.09963,
    "h": 340.1
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#581F48
secondary
#468D5A
accent
#D77650
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #581F48

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

Preview Lab → · Contrast checker → · Palette generator →

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