#581232#581232

#581232 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.105 H 357.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#581232
RGBrgb(88, 18, 50)
HSLhsl(333, 66%, 21%)
HSVhsv(333, 80%, 35%)
CMYKcmyk(0%, 79.5%, 43.2%, 65.5%)
CIE-LABlab(18.96, 34.33, -2.02)
CIE-LCHlch(18.96, 34.39, 356.63°)
OKLaboklab(31.53% 0.1054 -0.0049)
OKLCHoklch(31.53% 0.105 357.3)
XYZxyz(4.8169, 2.7382, 3.2919)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581232 #125838
analogous
#581255 #581232 #581512
triadic
#581232 #325812 #123258
tetradic
#581232 #555812 #125838 #151258
square
#581232 #555812 #125838 #151258
split-complementary
#581232 #125815 #125558
monochromatic
#19050E #250815 #581232 #8B1C4F #BE276C

Accessibility & contrast

On white

13.57
#581232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#581232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581232
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581232#FFFFFF#000000##FFFFFF
##5812321.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202633
Deuteranopia (green-blind)
#343330
Tritanopia (blue-blind)
#600920
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #581232;
/* rgb */ color: rgb(88, 18, 50);
/* oklch */ color: oklch(31.5% 0.105 357.3);
Tailwind
colors: {
  custom: {
    50: '#8b5769',
    500: '#581232',
    950: '#000000',
  },
}
SCSS
$custom: #581232;
$custom-light: #8b5769;
$custom-dark: #000000;
JSON
{
  "hex": "#581232",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 332.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.10549,
    "h": 357.3
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#581232
secondary
#359167
accent
#E99B3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #581232

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

Preview Lab → · Contrast checker → · Palette generator →

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