#511C35#511C35

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

Color values

HEX#511C35
RGBrgb(81, 28, 53)
HSLhsl(332, 49%, 21%)
HSVhsv(332, 65%, 32%)
CMYKcmyk(0%, 65.4%, 34.6%, 68.2%)
CIE-LABlab(19.38, 27.73, -3.67)
CIE-LCHlch(19.38, 27.97, 352.47°)
OKLaboklab(31.61% 0.0844 -0.0093)
OKLCHoklch(31.61% 0.085 353.7)
XYZxyz(4.4514, 2.8373, 3.6807)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C35 #1C5138
analogous
#511C50 #511C35 #511E1C
triadic
#511C35 #35511C #1C3551
tetradic
#511C35 #50511C #1C5138 #1E1C51
square
#511C35 #50511C #1C5138 #1E1C51
split-complementary
#511C35 #1C511E #1C5051
monochromatic
#17080F #240C17 #511C35 #7E2C53 #AC3B71

Accessibility & contrast

On white

13.40
#511C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C35
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C35#FFFFFF#000000##FFFFFF
##511C351.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c35;
/* rgb */ color: rgb(81, 28, 53);
/* oklch */ color: oklch(31.6% 0.085 353.7);
Tailwind
colors: {
  custom: {
    50: '#845b6c',
    500: '#511c35',
    950: '#000000',
  },
}
SCSS
$custom: #511c35;
$custom-light: #845b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#511c35",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 53
  },
  "hsl": {
    "h": 331.698,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31612,
    "c": 0.08489,
    "h": 353.7
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#511C35
secondary
#428766
accent
#D89850
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C35

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

Preview Lab → · Contrast checker → · Palette generator →

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