#511D2C#511D2C

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

Color values

HEX#511D2C
RGBrgb(81, 29, 44)
HSLhsl(343, 47%, 22%)
HSVhsv(343, 64%, 32%)
CMYKcmyk(0%, 64.2%, 45.7%, 68.2%)
CIE-LABlab(19.27, 25.97, 2.49)
CIE-LCHlch(19.27, 26.09, 5.48°)
OKLaboklab(31.42% 0.0791 0.0067)
OKLCHoklch(31.42% 0.079 4.9)
XYZxyz(4.2876, 2.8104, 2.6990)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D2C #1D5142
analogous
#511D46 #511D2C #51281D
triadic
#511D2C #2C511D #1D2C51
tetradic
#511D2C #46511D #1D5142 #281D51
square
#511D2C #46511D #1D5142 #281D51
split-complementary
#511D2C #1D5128 #1D4651
monochromatic
#17080C #240D14 #511D2C #7E2D44 #AB3D5D

Accessibility & contrast

On white

13.44
#511D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D2C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D2C#FFFFFF#000000##FFFFFF
##511D2C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#581723
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d2c;
/* rgb */ color: rgb(81, 29, 44);
/* oklch */ color: oklch(31.4% 0.079 4.9);
Tailwind
colors: {
  custom: {
    50: '#855c64',
    500: '#511d2c',
    950: '#000000',
  },
}
SCSS
$custom: #511d2c;
$custom-light: #855c64;
$custom-dark: #000000;
JSON
{
  "hex": "#511d2c",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 342.692,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31425,
    "c": 0.0794,
    "h": 4.9
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#511D2C
secondary
#448673
accent
#D7B051
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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