#511639#511639

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

Color values

HEX#511639
RGBrgb(81, 22, 57)
HSLhsl(324, 57%, 20%)
HSVhsv(324, 73%, 32%)
CMYKcmyk(0%, 72.8%, 29.6%, 68.2%)
CIE-LABlab(18.45, 31.31, -7.87)
CIE-LCHlch(18.45, 32.28, 345.88°)
OKLaboklab(30.98% 0.0949 -0.0207)
OKLCHoklch(30.98% 0.097 347.7)
XYZxyz(4.4190, 2.6190, 4.1429)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511639 #16512E
analogous
#4C1651 #511639 #51161B
triadic
#511639 #395116 #163951
tetradic
#511639 #514C16 #16512E #161B51
square
#511639 #514C16 #16512E #161B51
split-complementary
#511639 #1B5116 #16514C
monochromatic
#180711 #210917 #511639 #81235B #B1307D

Accessibility & contrast

On white

13.78
#511639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511639
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511639#FFFFFF#000000##FFFFFF
##5116391.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511639;
/* rgb */ color: rgb(81, 22, 57);
/* oklch */ color: oklch(31.0% 0.097 347.7);
Tailwind
colors: {
  custom: {
    50: '#84586f',
    500: '#511639',
    950: '#000000',
  },
}
SCSS
$custom: #511639;
$custom-light: #84586f;
$custom-dark: #000000;
JSON
{
  "hex": "#511639",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 324.407,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.09716,
    "h": 347.7
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#511639
secondary
#3A885A
accent
#E18647
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511639

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

Preview Lab → · Contrast checker → · Palette generator →

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