#511E31#511E31

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

Color values

HEX#511E31
RGBrgb(81, 30, 49)
HSLhsl(338, 46%, 22%)
HSVhsv(338, 63%, 32%)
CMYKcmyk(0%, 63%, 39.5%, 68.2%)
CIE-LABlab(19.64, 26.08, -0.48)
CIE-LCHlch(19.64, 26.08, 358.94°)
OKLaboklab(31.76% 0.0795 -0.0009)
OKLCHoklch(31.76% 0.08 359.3)
XYZxyz(4.4122, 2.9001, 3.2325)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E31 #1E513E
analogous
#511E4B #511E31 #51251E
triadic
#511E31 #31511E #1E3151
tetradic
#511E31 #4B511E #1E513E #251E51
square
#511E31 #4B511E #1E513E #251E51
split-complementary
#511E31 #1E5125 #1E4B51
monochromatic
#16080E #240D16 #511E31 #7E2F4C #AA3F67

Accessibility & contrast

On white

13.29
#511E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E31
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E31#FFFFFF#000000##FFFFFF
##511E311.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#343330
Tritanopia (blue-blind)
#581A25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e31;
/* rgb */ color: rgb(81, 30, 49);
/* oklch */ color: oklch(31.8% 0.080 359.3);
Tailwind
colors: {
  custom: {
    50: '#845c68',
    500: '#511e31',
    950: '#000000',
  },
}
SCSS
$custom: #511e31;
$custom-light: #845c68;
$custom-dark: #000000;
JSON
{
  "hex": "#511e31",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 337.647,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.0795,
    "h": 359.3
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#511E31
secondary
#45866E
accent
#D6A552
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E31

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

Preview Lab → · Contrast checker → · Palette generator →

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