#511332#511332

#511332 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.097 H 353.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#511332
RGBrgb(81, 19, 50)
HSLhsl(330, 62%, 20%)
HSVhsv(330, 77%, 32%)
CMYKcmyk(0%, 76.5%, 38.3%, 68.2%)
CIE-LABlab(17.67, 31.66, -4.10)
CIE-LCHlch(17.67, 31.93, 352.63°)
OKLaboklab(30.31% 0.0969 -0.0104)
OKLCHoklch(30.31% 0.097 353.9)
XYZxyz(4.2022, 2.4459, 3.2678)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511332 #135132
analogous
#511351 #511332 #511313
triadic
#511332 #325113 #133251
tetradic
#511332 #515113 #135132 #131351
square
#511332 #515113 #135132 #131351
split-complementary
#511332 #135113 #135151
monochromatic
#19060F #1F0713 #511332 #831F51 #B42A6F

Accessibility & contrast

On white

14.10
#511332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#511332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511332
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511332#FFFFFF#000000##FFFFFF
##5113321.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511332;
/* rgb */ color: rgb(81, 19, 50);
/* oklch */ color: oklch(30.3% 0.097 353.9);
Tailwind
colors: {
  custom: {
    50: '#855669',
    500: '#511332',
    950: '#000000',
  },
}
SCSS
$custom: #511332;
$custom-light: #855669;
$custom-dark: #000000;
JSON
{
  "hex": "#511332",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 330,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30311,
    "c": 0.09749,
    "h": 353.9
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#511332
secondary
#368A60
accent
#E59443
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511332

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

Preview Lab → · Contrast checker → · Palette generator →

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