#511D39#511D39

#511D39 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.086 H 349.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#511D39
RGBrgb(81, 29, 57)
HSLhsl(328, 47%, 22%)
HSVhsv(328, 64%, 32%)
CMYKcmyk(0%, 64.2%, 29.6%, 68.2%)
CIE-LABlab(19.74, 27.80, -5.93)
CIE-LCHlch(19.74, 28.42, 347.96°)
OKLaboklab(31.93% 0.0841 -0.0155)
OKLCHoklch(31.93% 0.086 349.6)
XYZxyz(4.5714, 2.9239, 4.1937)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D39 #1D5135
analogous
#4F1D51 #511D39 #511D1F
triadic
#511D39 #39511D #1D3951
tetradic
#511D39 #514F1D #1D5135 #1D1F51
square
#511D39 #514F1D #1D5135 #1D1F51
split-complementary
#511D39 #1F511D #1D514F
monochromatic
#170810 #240D19 #511D39 #7E2D59 #AB3D78

Accessibility & contrast

On white

13.25
#511D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D39
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D39#FFFFFF#000000##FFFFFF
##511D391.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3A
Deuteranopia (green-blind)
#323338
Tritanopia (blue-blind)
#571B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d39;
/* rgb */ color: rgb(81, 29, 57);
/* oklch */ color: oklch(31.9% 0.086 349.6);
Tailwind
colors: {
  custom: {
    50: '#845c6f',
    500: '#511d39',
    950: '#000000',
  },
}
SCSS
$custom: #511d39;
$custom-light: #845c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#511d39",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 327.692,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31928,
    "c": 0.08553,
    "h": 349.6
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#511D39
secondary
#448662
accent
#D78F51
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511D39

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

Preview Lab → · Contrast checker → · Palette generator →

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