#511C48#511C48

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

Color values

HEX#511C48
RGBrgb(81, 28, 72)
HSLhsl(310, 49%, 21%)
HSVhsv(310, 65%, 32%)
CMYKcmyk(0%, 65.4%, 11.1%, 68.2%)
CIE-LABlab(20.24, 30.89, -15.51)
CIE-LCHlch(20.24, 34.56, 333.33°)
OKLaboklab(32.52% 0.0896 -0.0422)
OKLCHoklch(32.52% 0.099 334.8)
XYZxyz(4.9783, 3.0481, 6.4558)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C48 #1C5125
analogous
#401C51 #511C48 #511C2E
triadic
#511C48 #48511C #1C4851
tetradic
#511C48 #51401C #1C5125 #1C2E51
square
#511C48 #51401C #1C5125 #1C2E51
split-complementary
#511C48 #2E511C #1C5140
monochromatic
#170814 #240C20 #511C48 #7E2C70 #AC3B99

Accessibility & contrast

On white

13.05
#511C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C48
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C48#FFFFFF#000000##FFFFFF
##511C481.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C49
Deuteranopia (green-blind)
#2C3447
Tritanopia (blue-blind)
#551F2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511c48;
/* rgb */ color: rgb(81, 28, 72);
/* oklch */ color: oklch(32.5% 0.099 334.8);
Tailwind
colors: {
  custom: {
    50: '#845c7b',
    500: '#511c48',
    950: '#000000',
  },
}
SCSS
$custom: #511c48;
$custom-light: #845c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#511c48",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 310.189,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.09904,
    "h": 334.8
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#511C48
secondary
#42874E
accent
#D86750
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C48

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

Preview Lab → · Contrast checker → · Palette generator →

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