#511E38#511E38

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

Color values

HEX#511E38
RGBrgb(81, 30, 56)
HSLhsl(329, 46%, 22%)
HSVhsv(329, 63%, 32%)
CMYKcmyk(0%, 63%, 30.9%, 68.2%)
CIE-LABlab(19.90, 27.10, -4.99)
CIE-LCHlch(19.90, 27.56, 349.57°)
OKLaboklab(32.04% 0.0821 -0.0129)
OKLCHoklch(32.04% 0.083 351.1)
XYZxyz(4.5716, 2.9638, 4.0719)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E38 #1E5137
analogous
#511E51 #511E38 #511E1F
triadic
#511E38 #38511E #1E3851
tetradic
#511E38 #51511E #1E5137 #1E1F51
square
#511E38 #51511E #1E5137 #1E1F51
split-complementary
#511E38 #1F511E #1E5151
monochromatic
#16080F #240D19 #511E38 #7E2F57 #AA3F76

Accessibility & contrast

On white

13.19
#511E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E38
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E38#FFFFFF#000000##FFFFFF
##511E381.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A39
Deuteranopia (green-blind)
#323337
Tritanopia (blue-blind)
#571C28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e38;
/* rgb */ color: rgb(81, 30, 56);
/* oklch */ color: oklch(32.0% 0.083 351.1);
Tailwind
colors: {
  custom: {
    50: '#845d6e',
    500: '#511e38',
    950: '#000000',
  },
}
SCSS
$custom: #511e38;
$custom-light: #845d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#511e38",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 329.412,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.08313,
    "h": 351.1
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#511E38
secondary
#458665
accent
#D69352
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511E38

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

Preview Lab → · Contrast checker → · Palette generator →

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