#511D2B#511D2B

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

Color values

HEX#511D2B
RGBrgb(81, 29, 43)
HSLhsl(344, 47%, 22%)
HSVhsv(344, 64%, 32%)
CMYKcmyk(0%, 64.2%, 46.9%, 68.2%)
CIE-LABlab(19.24, 25.85, 3.15)
CIE-LCHlch(19.24, 26.04, 6.95°)
OKLaboklab(31.39% 0.0787 0.0084)
OKLCHoklch(31.39% 0.079 6.1)
XYZxyz(4.2690, 2.8030, 2.6012)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D2B #1D5143
analogous
#511D45 #511D2B #51291D
triadic
#511D2B #2B511D #1D2B51
tetradic
#511D2B #45511D #1D5143 #291D51
square
#511D2B #45511D #1D5143 #291D51
split-complementary
#511D2B #1D5129 #1D4551
monochromatic
#17080C #240D13 #511D2B #7E2D43 #AB3D5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511D2B#FFFFFF#000000##FFFFFF
##511D2B1.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)
#27282B
Deuteranopia (green-blind)
#35322A
Tritanopia (blue-blind)
#581722
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d2b;
/* rgb */ color: rgb(81, 29, 43);
/* oklch */ color: oklch(31.4% 0.079 6.1);
Tailwind
colors: {
  custom: {
    50: '#855c64',
    500: '#511d2b',
    950: '#000000',
  },
}
SCSS
$custom: #511d2b;
$custom-light: #855c64;
$custom-dark: #000000;
JSON
{
  "hex": "#511d2b",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 343.846,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31392,
    "c": 0.07914,
    "h": 6.1
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#511D2B
secondary
#448674
accent
#D7B351
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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