#511F36#511F36

#511F36 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.1% C 0.080 H 353.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#511F36
RGBrgb(81, 31, 54)
HSLhsl(332, 45%, 22%)
HSVhsv(332, 62%, 32%)
CMYKcmyk(0%, 61.7%, 33.3%, 68.2%)
CIE-LABlab(20.03, 26.25, -3.40)
CIE-LCHlch(20.03, 26.47, 352.62°)
OKLaboklab(32.11% 0.0797 -0.0087)
OKLCHoklch(32.11% 0.08 353.8)
XYZxyz(4.5494, 2.9961, 3.8280)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F36 #1F513A
analogous
#511F4F #511F36 #51211F
triadic
#511F36 #36511F #1F3651
tetradic
#511F36 #4F511F #1F513A #211F51
square
#511F36 #4F511F #1F513A #211F51
split-complementary
#511F36 #1F5121 #1F4F51
monochromatic
#16080F #250E18 #511F36 #7D3054 #AA4171

Accessibility & contrast

On white

13.13
#511F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F36
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F36#FFFFFF#000000##FFFFFF
##511F361.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B37
Deuteranopia (green-blind)
#333435
Tritanopia (blue-blind)
#571C28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f36;
/* rgb */ color: rgb(81, 31, 54);
/* oklch */ color: oklch(32.1% 0.080 353.8);
Tailwind
colors: {
  custom: {
    50: '#845d6d',
    500: '#511f36',
    950: '#000000',
  },
}
SCSS
$custom: #511f36;
$custom-light: #845d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511f36",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 332.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.08018,
    "h": 353.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#511F36
secondary
#468668
accent
#D49953
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F36

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

Preview Lab → · Contrast checker → · Palette generator →

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