#511536#511536

#511536 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.097 H 350.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#511536
RGBrgb(81, 21, 54)
HSLhsl(327, 59%, 20%)
HSVhsv(327, 74%, 32%)
CMYKcmyk(0%, 74.1%, 33.3%, 68.2%)
CIE-LABlab(18.15, 31.32, -6.21)
CIE-LCHlch(18.15, 31.93, 348.79°)
OKLaboklab(30.72% 0.0954 -0.0161)
OKLCHoklch(30.72% 0.097 350.4)
XYZxyz(4.3276, 2.5525, 3.7541)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511536 #155130
analogous
#4E1551 #511536 #511518
triadic
#511536 #365115 #153651
tetradic
#511536 #514E15 #155130 #151851
square
#511536 #514E15 #155130 #151851
split-complementary
#511536 #185115 #15514E
monochromatic
#180610 #200816 #511536 #822256 #B22E77

Accessibility & contrast

On white

13.90
#511536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511536
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511536#FFFFFF#000000##FFFFFF
##5115361.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#2F3035
Tritanopia (blue-blind)
#571223
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511536;
/* rgb */ color: rgb(81, 21, 54);
/* oklch */ color: oklch(30.7% 0.097 350.4);
Tailwind
colors: {
  custom: {
    50: '#85586d',
    500: '#511536',
    950: '#000000',
  },
}
SCSS
$custom: #511536;
$custom-light: #85586d;
$custom-dark: #000000;
JSON
{
  "hex": "#511536",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 327,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.09681,
    "h": 350.4
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#511536
secondary
#39895D
accent
#E28C46
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511536

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

Preview Lab → · Contrast checker → · Palette generator →

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