#511C2E#511C2E

#511C2E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.3% C 0.082 H 1.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#511C2E
RGBrgb(81, 28, 46)
HSLhsl(340, 49%, 21%)
HSVhsv(340, 65%, 32%)
CMYKcmyk(0%, 65.4%, 43.2%, 68.2%)
CIE-LABlab(19.13, 26.77, 0.88)
CIE-LCHlch(19.13, 26.78, 1.89°)
OKLaboklab(31.34% 0.0817 0.0026)
OKLCHoklch(31.34% 0.082 1.8)
XYZxyz(4.3020, 2.7776, 2.8938)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2E #1C513F
analogous
#511C49 #511C2E #51251C
triadic
#511C2E #2E511C #1C2E51
tetradic
#511C2E #49511C #1C513F #251C51
square
#511C2E #49511C #1C513F #251C51
split-complementary
#511C2E #1C5125 #1C4951
monochromatic
#17080D #240C14 #511C2E #7E2C48 #AC3B62

Accessibility & contrast

On white

13.50
#511C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C2E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2E#FFFFFF#000000##FFFFFF
##511C2E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#34322D
Tritanopia (blue-blind)
#581723
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c2e;
/* rgb */ color: rgb(81, 28, 46);
/* oklch */ color: oklch(31.3% 0.082 1.8);
Tailwind
colors: {
  custom: {
    50: '#855b66',
    500: '#511c2e',
    950: '#000000',
  },
}
SCSS
$custom: #511c2e;
$custom-light: #855b66;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2e",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 339.623,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.0817,
    "h": 1.8
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#511C2E
secondary
#42876F
accent
#D8AA50
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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