#511D37#511D37

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

Color values

HEX#511D37
RGBrgb(81, 29, 55)
HSLhsl(330, 47%, 22%)
HSVhsv(330, 64%, 32%)
CMYKcmyk(0%, 64.2%, 32.1%, 68.2%)
CIE-LABlab(19.66, 27.49, -4.65)
CIE-LCHlch(19.66, 27.88, 350.39°)
OKLaboklab(31.84% 0.0834 -0.012)
OKLCHoklch(31.84% 0.084 351.8)
XYZxyz(4.5225, 2.9043, 3.9361)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D37 #1D5137
analogous
#511D51 #511D37 #511D1D
triadic
#511D37 #37511D #1D3751
tetradic
#511D37 #51511D #1D5137 #1D1D51
square
#511D37 #51511D #1D5137 #1D1D51
split-complementary
#511D37 #1D511D #1D5151
monochromatic
#17080F #240D18 #511D37 #7E2D56 #AB3D74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511D37#FFFFFF#000000##FFFFFF
##511D371.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)
#242A38
Deuteranopia (green-blind)
#323336
Tritanopia (blue-blind)
#571A27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d37;
/* rgb */ color: rgb(81, 29, 55);
/* oklch */ color: oklch(31.8% 0.084 351.8);
Tailwind
colors: {
  custom: {
    50: '#845c6d',
    500: '#511d37',
    950: '#000000',
  },
}
SCSS
$custom: #511d37;
$custom-light: #845c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511d37",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 55
  },
  "hsl": {
    "h": 330,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31843,
    "c": 0.0843,
    "h": 351.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#511D37
secondary
#448665
accent
#D79451
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511D37

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

Preview Lab → · Contrast checker → · Palette generator →

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