#511D3E#511D3E

#511D3E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.089 H 344.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#511D3E
RGBrgb(81, 29, 62)
HSLhsl(322, 47%, 22%)
HSVhsv(322, 64%, 32%)
CMYKcmyk(0%, 64.2%, 23.5%, 68.2%)
CIE-LABlab(19.95, 28.60, -9.08)
CIE-LCHlch(19.95, 30.01, 342.39°)
OKLaboklab(32.16% 0.0857 -0.0241)
OKLCHoklch(32.16% 0.089 344.3)
XYZxyz(4.7023, 2.9763, 4.8833)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D3E #1D5130
analogous
#4A1D51 #511D3E #511D24
triadic
#511D3E #3E511D #1D3E51
tetradic
#511D3E #514A1D #1D5130 #1D2451
square
#511D3E #514A1D #1D5130 #1D2451
split-complementary
#511D3E #24511D #1D514A
monochromatic
#170811 #240D1C #511D3E #7E2D60 #AB3D83

Accessibility & contrast

On white

13.16
#511D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D3E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D3E#FFFFFF#000000##FFFFFF
##511D3E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B3F
Deuteranopia (green-blind)
#30333D
Tritanopia (blue-blind)
#561D2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d3e;
/* rgb */ color: rgb(81, 29, 62);
/* oklch */ color: oklch(32.2% 0.089 344.3);
Tailwind
colors: {
  custom: {
    50: '#845c73',
    500: '#511d3e',
    950: '#000000',
  },
}
SCSS
$custom: #511d3e;
$custom-light: #845c73;
$custom-dark: #000000;
JSON
{
  "hex": "#511d3e",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 321.923,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.08901,
    "h": 344.3
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#511D3E
secondary
#44865C
accent
#D78251
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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