#511C41#511C41

#511C41 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.093 H 341.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#511C41
RGBrgb(81, 28, 65)
HSLhsl(318, 49%, 21%)
HSVhsv(318, 65%, 32%)
CMYKcmyk(0%, 65.4%, 19.8%, 68.2%)
CIE-LABlab(19.89, 29.64, -11.24)
CIE-LCHlch(19.89, 31.70, 339.23°)
OKLaboklab(32.16% 0.0881 -0.0301)
OKLCHoklch(32.16% 0.093 341.1)
XYZxyz(4.7628, 2.9619, 5.3209)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C41 #1C512C
analogous
#471C51 #511C41 #511C27
triadic
#511C41 #41511C #1C4151
tetradic
#511C41 #51471C #1C512C #1C2751
square
#511C41 #51471C #1C512C #1C2751
split-complementary
#511C41 #27511C #1C5147
monochromatic
#170812 #240C1D #511C41 #7E2C65 #AC3B8A

Accessibility & contrast

On white

13.19
#511C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C41
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C41#FFFFFF#000000##FFFFFF
##511C411.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B42
Deuteranopia (green-blind)
#2F3340
Tritanopia (blue-blind)
#561D2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c41;
/* rgb */ color: rgb(81, 28, 65);
/* oklch */ color: oklch(32.2% 0.093 341.1);
Tailwind
colors: {
  custom: {
    50: '#845c75',
    500: '#511c41',
    950: '#000000',
  },
}
SCSS
$custom: #511c41;
$custom-light: #845c75;
$custom-dark: #000000;
JSON
{
  "hex": "#511c41",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 318.113,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.09309,
    "h": 341.1
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#511C41
secondary
#428757
accent
#D87950
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511C41

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

Preview Lab → · Contrast checker → · Palette generator →

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