#511A32#511A32

#511A32 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.087 H 356.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#511A32
RGBrgb(81, 26, 50)
HSLhsl(334, 51%, 21%)
HSVhsv(334, 68%, 32%)
CMYKcmyk(0%, 67.9%, 38.3%, 68.2%)
CIE-LABlab(18.88, 28.34, -2.30)
CIE-LCHlch(18.88, 28.44, 355.36°)
OKLaboklab(31.2% 0.0865 -0.0057)
OKLCHoklch(31.2% 0.087 356.2)
XYZxyz(4.3387, 2.7189, 3.3133)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A32 #1A5139
analogous
#511A4D #511A32 #511D1A
triadic
#511A32 #32511A #1A3251
tetradic
#511A32 #4D511A #1A5139 #1D1A51
square
#511A32 #4D511A #1A5139 #1D1A51
split-complementary
#511A32 #1A511D #1A4D51
monochromatic
#17070E #230B15 #511A32 #7F294F #AE386B

Accessibility & contrast

On white

13.60
#511A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A32
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A32#FFFFFF#000000##FFFFFF
##511A321.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232733
Deuteranopia (green-blind)
#323231
Tritanopia (blue-blind)
#581624
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511a32;
/* rgb */ color: rgb(81, 26, 50);
/* oklch */ color: oklch(31.2% 0.087 356.2);
Tailwind
colors: {
  custom: {
    50: '#855a69',
    500: '#511a32',
    950: '#000000',
  },
}
SCSS
$custom: #511a32;
$custom-light: #855a69;
$custom-dark: #000000;
JSON
{
  "hex": "#511a32",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 333.818,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.0867,
    "h": 356.2
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#511A32
secondary
#408768
accent
#DB9D4D
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511A32

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

Preview Lab → · Contrast checker → · Palette generator →

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