#511C46#511C46

#511C46 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.097 H 336.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#511C46
RGBrgb(81, 28, 70)
HSLhsl(312, 49%, 21%)
HSVhsv(312, 65%, 32%)
CMYKcmyk(0%, 65.4%, 13.6%, 68.2%)
CIE-LABlab(20.13, 30.52, -14.30)
CIE-LCHlch(20.13, 33.71, 334.89°)
OKLaboklab(32.42% 0.0892 -0.0388)
OKLCHoklch(32.42% 0.097 336.5)
XYZxyz(4.9141, 3.0224, 6.1177)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C46 #1C5127
analogous
#421C51 #511C46 #511C2C
triadic
#511C46 #46511C #1C4651
tetradic
#511C46 #51421C #1C5127 #1C2C51
square
#511C46 #51421C #1C5127 #1C2C51
split-complementary
#511C46 #2C511C #1C5142
monochromatic
#170814 #240C1F #511C46 #7E2C6D #AC3B95

Accessibility & contrast

On white

13.09
#511C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C46
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C46#FFFFFF#000000##FFFFFF
##511C461.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c46;
/* rgb */ color: rgb(81, 28, 70);
/* oklch */ color: oklch(32.4% 0.097 336.5);
Tailwind
colors: {
  custom: {
    50: '#845c79',
    500: '#511c46',
    950: '#000000',
  },
}
SCSS
$custom: #511c46;
$custom-light: #845c79;
$custom-dark: #000000;
JSON
{
  "hex": "#511c46",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 312.453,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32415,
    "c": 0.09728,
    "h": 336.5
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#511C46
secondary
#428750
accent
#D86C50
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C46

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

Preview Lab → · Contrast checker → · Palette generator →

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