#511539#511539

#511539 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.099 H 347.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#511539
RGBrgb(81, 21, 57)
HSLhsl(324, 59%, 20%)
HSVhsv(324, 74%, 32%)
CMYKcmyk(0%, 74.1%, 29.6%, 68.2%)
CIE-LABlab(18.28, 31.76, -8.13)
CIE-LCHlch(18.28, 32.78, 345.65°)
OKLaboklab(30.86% 0.0963 -0.0214)
OKLCHoklch(30.86% 0.099 347.5)
XYZxyz(4.4002, 2.5815, 4.1367)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511539 #15512D
analogous
#4B1551 #511539 #51151B
triadic
#511539 #395115 #153951
tetradic
#511539 #514B15 #15512D #151B51
square
#511539 #514B15 #15512D #151B51
split-complementary
#511539 #1B5115 #15514B
monochromatic
#180611 #200817 #511539 #82225B #B22E7D

Accessibility & contrast

On white

13.85
#511539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511539
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511539#FFFFFF#000000##FFFFFF
##5115391.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D263A
Deuteranopia (green-blind)
#2E3038
Tritanopia (blue-blind)
#571324
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511539;
/* rgb */ color: rgb(81, 21, 57);
/* oklch */ color: oklch(30.9% 0.099 347.5);
Tailwind
colors: {
  custom: {
    50: '#85586f',
    500: '#511539',
    950: '#000000',
  },
}
SCSS
$custom: #511539;
$custom-light: #85586f;
$custom-dark: #000000;
JSON
{
  "hex": "#511539",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 324,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30856,
    "c": 0.09869,
    "h": 347.5
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#511539
secondary
#398959
accent
#E28446
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511539

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

Preview Lab → · Contrast checker → · Palette generator →

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