#511B35#511B35

#511B35 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.087 H 353.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#511B35
RGBrgb(81, 27, 53)
HSLhsl(331, 50%, 21%)
HSVhsv(331, 67%, 32%)
CMYKcmyk(0%, 66.7%, 34.6%, 68.2%)
CIE-LABlab(19.19, 28.25, -3.96)
CIE-LCHlch(19.19, 28.53, 352.03°)
OKLaboklab(31.47% 0.086 -0.0101)
OKLCHoklch(31.47% 0.087 353.3)
XYZxyz(4.4281, 2.7907, 3.6729)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B35 #1B5137
analogous
#511B50 #511B35 #511C1B
triadic
#511B35 #35511B #1B3551
tetradic
#511B35 #50511B #1B5137 #1C1B51
square
#511B35 #50511B #1B5137 #1C1B51
split-complementary
#511B35 #1B511C #1B5051
monochromatic
#17080F #230C17 #511B35 #7F2A53 #AD3A71

Accessibility & contrast

On white

13.48
#511B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B35
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B35#FFFFFF#000000##FFFFFF
##511B351.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232836
Deuteranopia (green-blind)
#323234
Tritanopia (blue-blind)
#571825
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b35;
/* rgb */ color: rgb(81, 27, 53);
/* oklch */ color: oklch(31.5% 0.087 353.3);
Tailwind
colors: {
  custom: {
    50: '#845b6c',
    500: '#511b35',
    950: '#000000',
  },
}
SCSS
$custom: #511b35;
$custom-light: #845b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#511b35",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 53
  },
  "hsl": {
    "h": 331.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.08659,
    "h": 353.3
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#511B35
secondary
#418765
accent
#DA964E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B35

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

Preview Lab → · Contrast checker → · Palette generator →

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