#511F37#511F37

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

Color values

HEX#511F37
RGBrgb(81, 31, 55)
HSLhsl(331, 45%, 22%)
HSVhsv(331, 62%, 32%)
CMYKcmyk(0%, 61.7%, 32.1%, 68.2%)
CIE-LABlab(20.07, 26.40, -4.04)
CIE-LCHlch(20.07, 26.71, 351.30°)
OKLaboklab(32.15% 0.0801 -0.0104)
OKLCHoklch(32.15% 0.081 352.6)
XYZxyz(4.5731, 3.0056, 3.9530)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F37 #1F5139
analogous
#511F50 #511F37 #51201F
triadic
#511F37 #37511F #1F3751
tetradic
#511F37 #50511F #1F5139 #201F51
square
#511F37 #50511F #1F5139 #201F51
split-complementary
#511F37 #1F5120 #1F5051
monochromatic
#16080F #250E19 #511F37 #7D3055 #AA4173

Accessibility & contrast

On white

13.12
#511F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F37
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F37#FFFFFF#000000##FFFFFF
##511F371.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511f37;
/* rgb */ color: rgb(81, 31, 55);
/* oklch */ color: oklch(32.1% 0.081 352.6);
Tailwind
colors: {
  custom: {
    50: '#845d6d',
    500: '#511f37',
    950: '#000000',
  },
}
SCSS
$custom: #511f37;
$custom-light: #845d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511f37",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 331.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.08074,
    "h": 352.6
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#511F37
secondary
#468667
accent
#D49653
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F37

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

Preview Lab → · Contrast checker → · Palette generator →

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