#511D32#511D32

#511D32 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.6% C 0.082 H 357.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#511D32
RGBrgb(81, 29, 50)
HSLhsl(336, 47%, 22%)
HSVhsv(336, 64%, 32%)
CMYKcmyk(0%, 64.2%, 38.3%, 68.2%)
CIE-LABlab(19.47, 26.77, -1.43)
CIE-LCHlch(19.47, 26.80, 356.94°)
OKLaboklab(31.64% 0.0816 -0.0034)
OKLCHoklch(31.64% 0.082 357.6)
XYZxyz(4.4087, 2.8588, 3.3366)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D32 #1D513C
analogous
#511D4C #511D32 #51221D
triadic
#511D32 #32511D #1D3251
tetradic
#511D32 #4C511D #1D513C #221D51
square
#511D32 #4C511D #1D513C #221D51
split-complementary
#511D32 #1D5122 #1D4C51
monochromatic
#17080E #240D16 #511D32 #7E2D4E #AB3D6A

Accessibility & contrast

On white

13.36
#511D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D32
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D32#FFFFFF#000000##FFFFFF
##511D321.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252933
Deuteranopia (green-blind)
#333331
Tritanopia (blue-blind)
#581925
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d32;
/* rgb */ color: rgb(81, 29, 50);
/* oklch */ color: oklch(31.6% 0.082 357.6);
Tailwind
colors: {
  custom: {
    50: '#845c69',
    500: '#511d32',
    950: '#000000',
  },
}
SCSS
$custom: #511d32;
$custom-light: #845c69;
$custom-dark: #000000;
JSON
{
  "hex": "#511d32",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 50
  },
  "hsl": {
    "h": 335.769,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31642,
    "c": 0.08165,
    "h": 357.6
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#511D32
secondary
#44866B
accent
#D7A151
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511D32

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

Preview Lab → · Contrast checker → · Palette generator →

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