#511E37#511E37

#511E37 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.0% C 0.083 H 352.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#511E37
RGBrgb(81, 30, 55)
HSLhsl(331, 46%, 22%)
HSVhsv(331, 63%, 32%)
CMYKcmyk(0%, 63%, 32.1%, 68.2%)
CIE-LABlab(19.86, 26.95, -4.35)
CIE-LCHlch(19.86, 27.30, 350.83°)
OKLaboklab(31.99% 0.0818 -0.0112)
OKLCHoklch(31.99% 0.083 352.2)
XYZxyz(4.5474, 2.9542, 3.9444)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E37 #1E5138
analogous
#511E51 #511E37 #511F1E
triadic
#511E37 #37511E #1E3751
tetradic
#511E37 #51511E #1E5138 #1F1E51
square
#511E37 #51511E #1E5138 #1F1E51
split-complementary
#511E37 #1E511F #1E5151
monochromatic
#16080F #240D19 #511E37 #7E2F55 #AA3F74

Accessibility & contrast

On white

13.20
#511E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E37
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E37#FFFFFF#000000##FFFFFF
##511E371.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A38
Deuteranopia (green-blind)
#333336
Tritanopia (blue-blind)
#571B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e37;
/* rgb */ color: rgb(81, 30, 55);
/* oklch */ color: oklch(32.0% 0.083 352.2);
Tailwind
colors: {
  custom: {
    50: '#845d6d',
    500: '#511e37',
    950: '#000000',
  },
}
SCSS
$custom: #511e37;
$custom-light: #845d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511e37",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 55
  },
  "hsl": {
    "h": 330.588,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.08253,
    "h": 352.2
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#511E37
secondary
#458666
accent
#D69552
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511E37

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

Preview Lab → · Contrast checker → · Palette generator →

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