#511E39#511E39

#511E39 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.1% C 0.084 H 349.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#511E39
RGBrgb(81, 30, 57)
HSLhsl(328, 46%, 22%)
HSVhsv(328, 63%, 32%)
CMYKcmyk(0%, 63%, 29.6%, 68.2%)
CIE-LABlab(19.94, 27.26, -5.62)
CIE-LCHlch(19.94, 27.83, 348.34°)
OKLaboklab(32.08% 0.0825 -0.0146)
OKLCHoklch(32.08% 0.084 349.9)
XYZxyz(4.5963, 2.9737, 4.2020)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E39 #1E5136
analogous
#501E51 #511E39 #511E20
triadic
#511E39 #39511E #1E3951
tetradic
#511E39 #51501E #1E5136 #1E2051
square
#511E39 #51501E #1E5136 #1E2051
split-complementary
#511E39 #20511E #1E5150
monochromatic
#160810 #240D1A #511E39 #7E2F58 #AA3F78

Accessibility & contrast

On white

13.17
#511E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E39
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E39#FFFFFF#000000##FFFFFF
##511E391.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3A
Deuteranopia (green-blind)
#323338
Tritanopia (blue-blind)
#571C29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e39;
/* rgb */ color: rgb(81, 30, 57);
/* oklch */ color: oklch(32.1% 0.084 349.9);
Tailwind
colors: {
  custom: {
    50: '#845d6f',
    500: '#511e39',
    950: '#000000',
  },
}
SCSS
$custom: #511e39;
$custom-light: #845d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#511e39",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 328.235,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.08375,
    "h": 349.9
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#511E39
secondary
#458663
accent
#D69052
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511E39

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

Preview Lab → · Contrast checker → · Palette generator →

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