#511534#511534

#511534 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.096 H 352.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#511534
RGBrgb(81, 21, 52)
HSLhsl(329, 59%, 20%)
HSVhsv(329, 74%, 32%)
CMYKcmyk(0%, 74.1%, 35.8%, 68.2%)
CIE-LABlab(18.07, 31.04, -4.92)
CIE-LCHlch(18.07, 31.43, 351.00°)
OKLaboklab(30.63% 0.0948 -0.0127)
OKLCHoklch(30.63% 0.096 352.4)
XYZxyz(4.2816, 2.5341, 3.5118)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511534 #155132
analogous
#501551 #511534 #511516
triadic
#511534 #345115 #153451
tetradic
#511534 #515015 #155132 #151651
square
#511534 #515015 #155132 #151651
split-complementary
#511534 #165115 #155150
monochromatic
#180610 #200815 #511534 #822253 #B22E72

Accessibility & contrast

On white

13.94
#511534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511534
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511534#FFFFFF#000000##FFFFFF
##5115341.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2535
Deuteranopia (green-blind)
#2F3033
Tritanopia (blue-blind)
#581122
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511534;
/* rgb */ color: rgb(81, 21, 52);
/* oklch */ color: oklch(30.6% 0.096 352.4);
Tailwind
colors: {
  custom: {
    50: '#85586b',
    500: '#511534',
    950: '#000000',
  },
}
SCSS
$custom: #511534;
$custom-light: #85586b;
$custom-dark: #000000;
JSON
{
  "hex": "#511534",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 329,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30631,
    "c": 0.09565,
    "h": 352.4
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#511534
secondary
#398960
accent
#E29146
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511534

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

Preview Lab → · Contrast checker → · Palette generator →

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