#511132#511132

#511132 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.100 H 353.3°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#511132
RGBrgb(81, 17, 50)
HSLhsl(329, 65%, 19%)
HSVhsv(329, 79%, 32%)
CMYKcmyk(0%, 79%, 38.3%, 68.2%)
CIE-LABlab(17.37, 32.50, -4.55)
CIE-LCHlch(17.37, 32.82, 352.04°)
OKLaboklab(30.09% 0.0996 -0.0116)
OKLCHoklch(30.09% 0.1 353.3)
XYZxyz(4.1698, 2.3810, 3.2570)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511132 #115130
analogous
#501151 #511132 #511112
triadic
#511132 #325111 #113251
tetradic
#511132 #515011 #115130 #111251
square
#511132 #515011 #115130 #111251
split-complementary
#511132 #125111 #115150
monochromatic
#190510 #1E0613 #511132 #841C51 #B62670

Accessibility & contrast

On white

14.23
#511132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511132
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511132#FFFFFF#000000##FFFFFF
##5111321.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2333
Deuteranopia (green-blind)
#2E2F31
Tritanopia (blue-blind)
#580B1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511132;
/* rgb */ color: rgb(81, 17, 50);
/* oklch */ color: oklch(30.1% 0.100 353.3);
Tailwind
colors: {
  custom: {
    50: '#855669',
    500: '#511132',
    950: '#000000',
  },
}
SCSS
$custom: #511132;
$custom-light: #855669;
$custom-dark: #000000;
JSON
{
  "hex": "#511132",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 329.063,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30091,
    "c": 0.10025,
    "h": 353.3
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#511132
secondary
#348A5E
accent
#E89140
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511132

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

Preview Lab → · Contrast checker → · Palette generator →

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