#511D41#511D41

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

Color values

HEX#511D41
RGBrgb(81, 29, 65)
HSLhsl(318, 47%, 22%)
HSVhsv(318, 64%, 32%)
CMYKcmyk(0%, 64.2%, 19.8%, 68.2%)
CIE-LABlab(20.08, 29.11, -10.94)
CIE-LCHlch(20.08, 31.10, 339.40°)
OKLaboklab(32.3% 0.0865 -0.0293)
OKLCHoklch(32.3% 0.091 341.3)
XYZxyz(4.7869, 3.0101, 5.3289)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D41 #1D512D
analogous
#471D51 #511D41 #511D27
triadic
#511D41 #41511D #1D4151
tetradic
#511D41 #51471D #1D512D #1D2751
square
#511D41 #51471D #1D512D #1D2751
split-complementary
#511D41 #27511D #1D5147
monochromatic
#170812 #240D1D #511D41 #7E2D65 #AB3D89

Accessibility & contrast

On white

13.11
#511D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D41
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D41#FFFFFF#000000##FFFFFF
##511D411.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#2F3440
Tritanopia (blue-blind)
#561E2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d41;
/* rgb */ color: rgb(81, 29, 65);
/* oklch */ color: oklch(32.3% 0.091 341.3);
Tailwind
colors: {
  custom: {
    50: '#845c75',
    500: '#511d41',
    950: '#000000',
  },
}
SCSS
$custom: #511d41;
$custom-light: #845c75;
$custom-dark: #000000;
JSON
{
  "hex": "#511d41",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 318.462,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.323,
    "c": 0.09133,
    "h": 341.3
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#511D41
secondary
#448658
accent
#D77A51
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511D41

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

Preview Lab → · Contrast checker → · Palette generator →

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