#511E48#511E48

#511E48 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.096 H 334.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#511E48
RGBrgb(81, 30, 72)
HSLhsl(311, 46%, 22%)
HSVhsv(311, 63%, 32%)
CMYKcmyk(0%, 63%, 11.1%, 68.2%)
CIE-LABlab(20.62, 29.84, -14.92)
CIE-LCHlch(20.62, 33.36, 333.44°)
OKLaboklab(32.81% 0.0865 -0.0405)
OKLCHoklch(32.81% 0.096 334.9)
XYZxyz(5.0273, 3.1461, 6.4721)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E48 #1E5127
analogous
#411E51 #511E48 #511E2F
triadic
#511E48 #48511E #1E4851
tetradic
#511E48 #51411E #1E5127 #1E2F51
square
#511E48 #51411E #1E5127 #1E2F51
split-complementary
#511E48 #2F511E #1E5141
monochromatic
#160814 #240D20 #511E48 #7E2F70 #AA3F97

Accessibility & contrast

On white

12.89
#511E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E48
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E48#FFFFFF#000000##FFFFFF
##511E481.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#2D3447
Tritanopia (blue-blind)
#552130
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511e48;
/* rgb */ color: rgb(81, 30, 72);
/* oklch */ color: oklch(32.8% 0.096 334.9);
Tailwind
colors: {
  custom: {
    50: '#845d7b',
    500: '#511e48',
    950: '#000000',
  },
}
SCSS
$custom: #511e48;
$custom-light: #845d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#511e48",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 310.588,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32806,
    "c": 0.09556,
    "h": 334.9
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#511E48
secondary
#458650
accent
#D66952
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511E48

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

Preview Lab → · Contrast checker → · Palette generator →

#511E48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva