#511C47#511C47

#511C47 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.098 H 335.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#511C47
RGBrgb(81, 28, 71)
HSLhsl(311, 49%, 21%)
HSVhsv(311, 65%, 32%)
CMYKcmyk(0%, 65.4%, 12.3%, 68.2%)
CIE-LABlab(20.18, 30.70, -14.91)
CIE-LCHlch(20.18, 34.13, 334.10°)
OKLaboklab(32.47% 0.0894 -0.0405)
OKLCHoklch(32.47% 0.098 335.6)
XYZxyz(4.9460, 3.0352, 6.2854)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C47 #1C5126
analogous
#411C51 #511C47 #511C2D
triadic
#511C47 #47511C #1C4751
tetradic
#511C47 #51411C #1C5126 #1C2D51
square
#511C47 #51411C #1C5126 #1C2D51
split-complementary
#511C47 #2D511C #1C5141
monochromatic
#170814 #240C1F #511C47 #7E2C6F #AC3B97

Accessibility & contrast

On white

13.07
#511C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C47
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C47#FFFFFF#000000##FFFFFF
##511C471.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C48
Deuteranopia (green-blind)
#2D3446
Tritanopia (blue-blind)
#551F2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511c47;
/* rgb */ color: rgb(81, 28, 71);
/* oklch */ color: oklch(32.5% 0.098 335.6);
Tailwind
colors: {
  custom: {
    50: '#845c7a',
    500: '#511c47',
    950: '#000000',
  },
}
SCSS
$custom: #511c47;
$custom-light: #845c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#511c47",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 311.321,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.09816,
    "h": 335.6
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#511C47
secondary
#42874F
accent
#D86950
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C47

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

Preview Lab → · Contrast checker → · Palette generator →

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