#511C44#511C44

#511C44 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.096 H 338.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#511C44
RGBrgb(81, 28, 68)
HSLhsl(315, 49%, 21%)
HSVhsv(315, 65%, 32%)
CMYKcmyk(0%, 65.4%, 16%, 68.2%)
CIE-LABlab(20.03, 30.16, -13.08)
CIE-LCHlch(20.03, 32.88, 336.55°)
OKLaboklab(32.31% 0.0888 -0.0353)
OKLCHoklch(32.31% 0.096 338.3)
XYZxyz(4.8521, 2.9976, 5.7908)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C44 #1C5129
analogous
#441C51 #511C44 #511C2A
triadic
#511C44 #44511C #1C4451
tetradic
#511C44 #51441C #1C5129 #1C2A51
square
#511C44 #51441C #1C5129 #1C2A51
split-complementary
#511C44 #2A511C #1C5144
monochromatic
#170813 #240C1E #511C44 #7E2C6A #AC3B90

Accessibility & contrast

On white

13.13
#511C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C44
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C44#FFFFFF#000000##FFFFFF
##511C441.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#2E3343
Tritanopia (blue-blind)
#561E2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c44;
/* rgb */ color: rgb(81, 28, 68);
/* oklch */ color: oklch(32.3% 0.096 338.3);
Tailwind
colors: {
  custom: {
    50: '#845c78',
    500: '#511c44',
    950: '#000000',
  },
}
SCSS
$custom: #511c44;
$custom-light: #845c78;
$custom-dark: #000000;
JSON
{
  "hex": "#511c44",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 314.717,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.09556,
    "h": 338.3
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#511C44
secondary
#428753
accent
#D87150
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C44

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

Preview Lab → · Contrast checker → · Palette generator →

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