#511532#511532

#511532 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.095 H 354.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#511532
RGBrgb(81, 21, 50)
HSLhsl(331, 59%, 20%)
HSVhsv(331, 74%, 32%)
CMYKcmyk(0%, 74.1%, 38.3%, 68.2%)
CIE-LABlab(17.99, 30.77, -3.62)
CIE-LCHlch(17.99, 30.99, 353.29°)
OKLaboklab(30.55% 0.0941 -0.0092)
OKLCHoklch(30.55% 0.095 354.4)
XYZxyz(4.2375, 2.5164, 3.2796)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511532 #155134
analogous
#511550 #511532 #511615
triadic
#511532 #325115 #153251
tetradic
#511532 #505115 #155134 #161551
square
#511532 #505115 #155134 #161551
split-complementary
#511532 #155116 #155051
monochromatic
#18060F #200814 #511532 #822250 #B22E6E

Accessibility & contrast

On white

13.97
#511532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#511532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511532
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511532#FFFFFF#000000##FFFFFF
##5115321.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2533
Deuteranopia (green-blind)
#303031
Tritanopia (blue-blind)
#581021
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511532;
/* rgb */ color: rgb(81, 21, 50);
/* oklch */ color: oklch(30.5% 0.095 354.4);
Tailwind
colors: {
  custom: {
    50: '#855769',
    500: '#511532',
    950: '#000000',
  },
}
SCSS
$custom: #511532;
$custom-light: #855769;
$custom-dark: #000000;
JSON
{
  "hex": "#511532",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 331,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30547,
    "c": 0.09458,
    "h": 354.4
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#511532
secondary
#398962
accent
#E29746
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511532

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

Preview Lab → · Contrast checker → · Palette generator →

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