#511E36#511E36

#511E36 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.082 H 353.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#511E36
RGBrgb(81, 30, 54)
HSLhsl(332, 46%, 22%)
HSVhsv(332, 63%, 32%)
CMYKcmyk(0%, 63%, 33.3%, 68.2%)
CIE-LABlab(19.82, 26.80, -3.71)
CIE-LCHlch(19.82, 27.05, 352.12°)
OKLaboklab(31.95% 0.0814 -0.0095)
OKLCHoklch(31.95% 0.082 353.4)
XYZxyz(4.5237, 2.9447, 3.8195)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E36 #1E5139
analogous
#511E50 #511E36 #51201E
triadic
#511E36 #36511E #1E3651
tetradic
#511E36 #50511E #1E5139 #201E51
square
#511E36 #50511E #1E5139 #201E51
split-complementary
#511E36 #1E5120 #1E5051
monochromatic
#16080F #240D18 #511E36 #7E2F54 #AA3F72

Accessibility & contrast

On white

13.22
#511E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E36
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E36#FFFFFF#000000##FFFFFF
##511E361.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A37
Deuteranopia (green-blind)
#333335
Tritanopia (blue-blind)
#571B27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e36;
/* rgb */ color: rgb(81, 30, 54);
/* oklch */ color: oklch(32.0% 0.082 353.4);
Tailwind
colors: {
  custom: {
    50: '#845d6d',
    500: '#511e36',
    950: '#000000',
  },
}
SCSS
$custom: #511e36;
$custom-light: #845d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511e36",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 331.765,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.08196,
    "h": 353.4
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#511E36
secondary
#458667
accent
#D69852
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511E36

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

Preview Lab → · Contrast checker → · Palette generator →

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