#511C36#511C36

#511C36 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.085 H 352.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#511C36
RGBrgb(81, 28, 54)
HSLhsl(331, 49%, 21%)
HSVhsv(331, 65%, 32%)
CMYKcmyk(0%, 65.4%, 33.3%, 68.2%)
CIE-LABlab(19.42, 27.88, -4.31)
CIE-LCHlch(19.42, 28.21, 351.21°)
OKLaboklab(31.65% 0.0847 -0.0111)
OKLCHoklch(31.65% 0.085 352.6)
XYZxyz(4.4747, 2.8466, 3.8031)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C36 #1C5137
analogous
#511C51 #511C36 #511D1C
triadic
#511C36 #36511C #1C3651
tetradic
#511C36 #51511C #1C5137 #1D1C51
square
#511C36 #51511C #1C5137 #1D1C51
split-complementary
#511C36 #1C511D #1C5151
monochromatic
#17080F #240C18 #511C36 #7E2C54 #AC3B73

Accessibility & contrast

On white

13.38
#511C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C36
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C36#FFFFFF#000000##FFFFFF
##511C361.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232937
Deuteranopia (green-blind)
#323335
Tritanopia (blue-blind)
#571926
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c36;
/* rgb */ color: rgb(81, 28, 54);
/* oklch */ color: oklch(31.7% 0.085 352.6);
Tailwind
colors: {
  custom: {
    50: '#845b6d',
    500: '#511c36',
    950: '#000000',
  },
}
SCSS
$custom: #511c36;
$custom-light: #845b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511c36",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 330.566,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31653,
    "c": 0.08545,
    "h": 352.6
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#511C36
secondary
#428765
accent
#D89550
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C36

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

Preview Lab → · Contrast checker → · Palette generator →

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