#511B37#511B37

#511B37 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.088 H 351.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#511B37
RGBrgb(81, 27, 55)
HSLhsl(329, 50%, 21%)
HSVhsv(329, 67%, 32%)
CMYKcmyk(0%, 66.7%, 32.1%, 68.2%)
CIE-LABlab(19.26, 28.55, -5.24)
CIE-LCHlch(19.26, 29.02, 349.60°)
OKLaboklab(31.55% 0.0867 -0.0136)
OKLCHoklch(31.55% 0.088 351.1)
XYZxyz(4.4751, 2.8095, 3.9203)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B37 #1B5135
analogous
#501B51 #511B37 #511B1C
triadic
#511B37 #37511B #1B3751
tetradic
#511B37 #51501B #1B5135 #1B1C51
square
#511B37 #51501B #1B5135 #1B1C51
split-complementary
#511B37 #1C511B #1B5150
monochromatic
#170810 #230C18 #511B37 #7F2A56 #AD3A75

Accessibility & contrast

On white

13.45
#511B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B37
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B37#FFFFFF#000000##FFFFFF
##511B371.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222938
Deuteranopia (green-blind)
#313236
Tritanopia (blue-blind)
#571826
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b37;
/* rgb */ color: rgb(81, 27, 55);
/* oklch */ color: oklch(31.6% 0.088 351.1);
Tailwind
colors: {
  custom: {
    50: '#845b6d',
    500: '#511b37',
    950: '#000000',
  },
}
SCSS
$custom: #511b37;
$custom-light: #845b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511b37",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 328.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.08776,
    "h": 351.1
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#511B37
secondary
#418763
accent
#DA914E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B37

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

Preview Lab → · Contrast checker → · Palette generator →

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