#511D46#511D46

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

Color values

HEX#511D46
RGBrgb(81, 29, 70)
HSLhsl(313, 47%, 22%)
HSVhsv(313, 64%, 32%)
CMYKcmyk(0%, 64.2%, 13.6%, 68.2%)
CIE-LABlab(20.32, 30.00, -14.01)
CIE-LCHlch(20.32, 33.11, 334.97°)
OKLaboklab(32.56% 0.0877 -0.0379)
OKLCHoklch(32.56% 0.096 336.6)
XYZxyz(4.9382, 3.0706, 6.1258)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D46 #1D5128
analogous
#421D51 #511D46 #511D2C
triadic
#511D46 #46511D #1D4651
tetradic
#511D46 #51421D #1D5128 #1D2C51
square
#511D46 #51421D #1D5128 #1D2C51
split-complementary
#511D46 #2C511D #1D5142
monochromatic
#170813 #240D1F #511D46 #7E2D6D #AB3D94

Accessibility & contrast

On white

13.01
#511D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D46
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D46#FFFFFF#000000##FFFFFF
##511D461.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511d46;
/* rgb */ color: rgb(81, 29, 70);
/* oklch */ color: oklch(32.6% 0.096 336.6);
Tailwind
colors: {
  custom: {
    50: '#845c79',
    500: '#511d46',
    950: '#000000',
  },
}
SCSS
$custom: #511d46;
$custom-light: #845c79;
$custom-dark: #000000;
JSON
{
  "hex": "#511d46",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 312.692,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.09554,
    "h": 336.6
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#511D46
secondary
#448652
accent
#D76D51
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511D46

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

Preview Lab → · Contrast checker → · Palette generator →

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