#511232#511232

#511232 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.099 H 353.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#511232
RGBrgb(81, 18, 50)
HSLhsl(330, 64%, 19%)
HSVhsv(330, 78%, 32%)
CMYKcmyk(0%, 77.8%, 38.3%, 68.2%)
CIE-LABlab(17.52, 32.09, -4.33)
CIE-LCHlch(17.52, 32.38, 352.32°)
OKLaboklab(30.2% 0.0983 -0.011)
OKLCHoklch(30.2% 0.099 353.6)
XYZxyz(4.1856, 2.4127, 3.2623)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511232 #125131
analogous
#511251 #511232 #511213
triadic
#511232 #325112 #123251
tetradic
#511232 #515112 #125131 #121351
square
#511232 #515112 #125131 #121351
split-complementary
#511232 #135112 #125151
monochromatic
#19060F #1F0713 #511232 #831D51 #B52870

Accessibility & contrast

On white

14.17
#511232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511232
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511232#FFFFFF#000000##FFFFFF
##5112321.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2433
Deuteranopia (green-blind)
#2F2F31
Tritanopia (blue-blind)
#580D20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511232;
/* rgb */ color: rgb(81, 18, 50);
/* oklch */ color: oklch(30.2% 0.099 353.6);
Tailwind
colors: {
  custom: {
    50: '#855669',
    500: '#511232',
    950: '#000000',
  },
}
SCSS
$custom: #511232;
$custom-light: #855669;
$custom-dark: #000000;
JSON
{
  "hex": "#511232",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 329.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.09889,
    "h": 353.6
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#511232
secondary
#358A5F
accent
#E79341
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511232

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

Preview Lab → · Contrast checker → · Palette generator →

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