#511B36#511B36

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

Color values

HEX#511B36
RGBrgb(81, 27, 54)
HSLhsl(330, 50%, 21%)
HSVhsv(330, 67%, 32%)
CMYKcmyk(0%, 66.7%, 33.3%, 68.2%)
CIE-LABlab(19.22, 28.40, -4.60)
CIE-LCHlch(19.22, 28.77, 350.80°)
OKLaboklab(31.51% 0.0864 -0.0118)
OKLCHoklch(31.51% 0.087 352.2)
XYZxyz(4.4513, 2.8000, 3.7953)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B36 #1B5136
analogous
#511B51 #511B36 #511B1B
triadic
#511B36 #36511B #1B3651
tetradic
#511B36 #51511B #1B5136 #1B1B51
square
#511B36 #51511B #1B5136 #1B1B51
split-complementary
#511B36 #1B511B #1B5151
monochromatic
#17080F #230C17 #511B36 #7F2A55 #AD3A73

Accessibility & contrast

On white

13.46
#511B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B36
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B36#FFFFFF#000000##FFFFFF
##511B361.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511b36;
/* rgb */ color: rgb(81, 27, 54);
/* oklch */ color: oklch(31.5% 0.087 352.2);
Tailwind
colors: {
  custom: {
    50: '#845b6d',
    500: '#511b36',
    950: '#000000',
  },
}
SCSS
$custom: #511b36;
$custom-light: #845b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#511b36",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.08716,
    "h": 352.2
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#511B36
secondary
#418764
accent
#DA944E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B36

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

Preview Lab → · Contrast checker → · Palette generator →

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