#581748#581748

#581748 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.112 H 339.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#581748
RGBrgb(88, 23, 72)
HSLhsl(315, 59%, 22%)
HSVhsv(315, 74%, 35%)
CMYKcmyk(0%, 73.9%, 18.2%, 65.5%)
CIE-LABlab(20.66, 35.40, -14.76)
CIE-LCHlch(20.66, 38.35, 337.37°)
OKLaboklab(33.08% 0.105 -0.0399)
OKLCHoklch(33.08% 0.112 339.2)
XYZxyz(5.5007, 3.1559, 6.4491)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581748 #175827
analogous
#481758 #581748 #581728
triadic
#581748 #485817 #174858
tetradic
#581748 #584817 #175827 #172858
square
#581748 #584817 #175827 #172858
split-complementary
#581748 #285817 #175848
monochromatic
#180614 #270A20 #581748 #892470 #B93097

Accessibility & contrast

On white

12.88
#581748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581748
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581748#FFFFFF#000000##FFFFFF
##5817481.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#2F3546
Tritanopia (blue-blind)
#5D192D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581748;
/* rgb */ color: rgb(88, 23, 72);
/* oklch */ color: oklch(33.1% 0.112 339.2);
Tailwind
colors: {
  custom: {
    50: '#8a5a7b',
    500: '#581748',
    950: '#000000',
  },
}
SCSS
$custom: #581748;
$custom-light: #8a5a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#581748",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 314.769,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.11231,
    "h": 339.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#581748
secondary
#3C8F50
accent
#E26C46
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581748

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

Preview Lab → · Contrast checker → · Palette generator →

#581748 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva