#511D36#511D36

#511D36 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.084 H 352.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#511D36
RGBrgb(81, 29, 54)
HSLhsl(331, 47%, 22%)
HSVhsv(331, 64%, 32%)
CMYKcmyk(0%, 64.2%, 33.3%, 68.2%)
CIE-LABlab(19.62, 27.34, -4.01)
CIE-LCHlch(19.62, 27.63, 351.65°)
OKLaboklab(31.8% 0.0831 -0.0103)
OKLCHoklch(31.8% 0.084 352.9)
XYZxyz(4.4988, 2.8949, 3.8111)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D36 #1D5138
analogous
#511D50 #511D36 #511E1D
triadic
#511D36 #36511D #1D3651
tetradic
#511D36 #50511D #1D5138 #1E1D51
square
#511D36 #50511D #1D5138 #1E1D51
split-complementary
#511D36 #1D511E #1D5051
monochromatic
#17080F #240D18 #511D36 #7E2D54 #AB3D72

Accessibility & contrast

On white

13.30
#511D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D36
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D36#FFFFFF#000000##FFFFFF
##511D361.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A37
Deuteranopia (green-blind)
#323335
Tritanopia (blue-blind)
#571A27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d36;
/* rgb */ color: rgb(81, 29, 54);
/* oklch */ color: oklch(31.8% 0.084 352.9);
Tailwind
colors: {
  custom: {
    50: '#845c6d',
    500: '#511d36',
    950: '#000000',
  },
}
SCSS
$custom: #511d36;
$custom-light: #845c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511d36",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 54
  },
  "hsl": {
    "h": 331.154,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.08371,
    "h": 352.9
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#511D36
secondary
#448666
accent
#D79651
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511D36

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

Preview Lab → · Contrast checker → · Palette generator →

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