#511E32#511E32

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

Color values

HEX#511E32
RGBrgb(81, 30, 50)
HSLhsl(336, 46%, 22%)
HSVhsv(336, 63%, 32%)
CMYKcmyk(0%, 63%, 38.3%, 68.2%)
CIE-LABlab(19.67, 26.22, -1.13)
CIE-LCHlch(19.67, 26.24, 357.53°)
OKLaboklab(31.8% 0.0799 -0.0026)
OKLCHoklch(31.8% 0.08 358.1)
XYZxyz(4.4336, 2.9086, 3.3449)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E32 #1E513D
analogous
#511E4C #511E32 #51241E
triadic
#511E32 #32511E #1E3251
tetradic
#511E32 #4C511E #1E513D #241E51
square
#511E32 #4C511E #1E513D #241E51
split-complementary
#511E32 #1E5124 #1E4C51
monochromatic
#16080E #240D16 #511E32 #7E2F4E #AA3F69

Accessibility & contrast

On white

13.28
#511E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E32
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E32#FFFFFF#000000##FFFFFF
##511E321.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A33
Deuteranopia (green-blind)
#343331
Tritanopia (blue-blind)
#581A26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e32;
/* rgb */ color: rgb(81, 30, 50);
/* oklch */ color: oklch(31.8% 0.080 358.1);
Tailwind
colors: {
  custom: {
    50: '#845c69',
    500: '#511e32',
    950: '#000000',
  },
}
SCSS
$custom: #511e32;
$custom-light: #845c69;
$custom-dark: #000000;
JSON
{
  "hex": "#511e32",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 50
  },
  "hsl": {
    "h": 336.471,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.07993,
    "h": 358.1
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#511E32
secondary
#45866C
accent
#D6A252
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E32

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

Preview Lab → · Contrast checker → · Palette generator →

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