#511C37#511C37

#511C37 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.086 H 351.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#511C37
RGBrgb(81, 28, 55)
HSLhsl(329, 49%, 21%)
HSVhsv(329, 65%, 32%)
CMYKcmyk(0%, 65.4%, 32.1%, 68.2%)
CIE-LABlab(19.46, 28.02, -4.95)
CIE-LCHlch(19.46, 28.46, 349.98°)
OKLaboklab(31.7% 0.0851 -0.0128)
OKLCHoklch(31.7% 0.086 351.4)
XYZxyz(4.4984, 2.8561, 3.9281)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C37 #1C5136
analogous
#511C51 #511C37 #511C1D
triadic
#511C37 #37511C #1C3751
tetradic
#511C37 #51511C #1C5136 #1C1D51
square
#511C37 #51511C #1C5136 #1C1D51
split-complementary
#511C37 #1D511C #1C5151
monochromatic
#17080F #240C18 #511C37 #7E2C56 #AC3B75

Accessibility & contrast

On white

13.37
#511C37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C37
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C37#FFFFFF#000000##FFFFFF
##511C371.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#323336
Tritanopia (blue-blind)
#571927
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c37;
/* rgb */ color: rgb(81, 28, 55);
/* oklch */ color: oklch(31.7% 0.086 351.4);
Tailwind
colors: {
  custom: {
    50: '#845b6d',
    500: '#511c37',
    950: '#000000',
  },
}
SCSS
$custom: #511c37;
$custom-light: #845b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511c37",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 55
  },
  "hsl": {
    "h": 329.434,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.08604,
    "h": 351.4
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#511C37
secondary
#428764
accent
#D89350
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C37

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

Preview Lab → · Contrast checker → · Palette generator →

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