#511E46#511E46

#511E46 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.094 H 336.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#511E46
RGBrgb(81, 30, 70)
HSLhsl(313, 46%, 22%)
HSVhsv(313, 63%, 32%)
CMYKcmyk(0%, 63%, 13.6%, 68.2%)
CIE-LABlab(20.52, 29.47, -13.70)
CIE-LCHlch(20.52, 32.50, 335.06°)
OKLaboklab(32.7% 0.0861 -0.0371)
OKLCHoklch(32.7% 0.094 336.7)
XYZxyz(4.9632, 3.1205, 6.1341)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E46 #1E5129
analogous
#431E51 #511E46 #511E2D
triadic
#511E46 #46511E #1E4651
tetradic
#511E46 #51431E #1E5129 #1E2D51
square
#511E46 #51431E #1E5129 #1E2D51
split-complementary
#511E46 #2D511E #1E5143
monochromatic
#160813 #240D1F #511E46 #7E2F6D #AA3F93

Accessibility & contrast

On white

12.93
#511E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#511E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E46
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E46#FFFFFF#000000##FFFFFF
##511E461.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C47
Deuteranopia (green-blind)
#2E3445
Tritanopia (blue-blind)
#55202F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511e46;
/* rgb */ color: rgb(81, 30, 70);
/* oklch */ color: oklch(32.7% 0.094 336.7);
Tailwind
colors: {
  custom: {
    50: '#845d79',
    500: '#511e46',
    950: '#000000',
  },
}
SCSS
$custom: #511e46;
$custom-light: #845d79;
$custom-dark: #000000;
JSON
{
  "hex": "#511e46",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 312.941,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.09377,
    "h": 336.7
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#511E46
secondary
#458653
accent
#D66F52
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511E46

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

Preview Lab → · Contrast checker → · Palette generator →

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