#511A3A#511A3A

#511A3A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.091 H 347.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#511A3A
RGBrgb(81, 26, 58)
HSLhsl(325, 51%, 21%)
HSVhsv(325, 68%, 32%)
CMYKcmyk(0%, 67.9%, 28.4%, 68.2%)
CIE-LABlab(19.20, 29.51, -7.44)
CIE-LCHlch(19.20, 30.44, 345.86°)
OKLaboklab(31.54% 0.0892 -0.0196)
OKLCHoklch(31.54% 0.091 347.6)
XYZxyz(4.5266, 2.7941, 4.3031)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A3A #1A5131
analogous
#4C1A51 #511A3A #511A1E
triadic
#511A3A #3A511A #1A3A51
tetradic
#511A3A #514C1A #1A5131 #1A1E51
square
#511A3A #514C1A #1A5131 #1A1E51
split-complementary
#511A3A #1E511A #1A514C
monochromatic
#170711 #230B19 #511A3A #7F295B #AE387C

Accessibility & contrast

On white

13.47
#511A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A3A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A3A#FFFFFF#000000##FFFFFF
##511A3A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293B
Deuteranopia (green-blind)
#303239
Tritanopia (blue-blind)
#571827
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a3a;
/* rgb */ color: rgb(81, 26, 58);
/* oklch */ color: oklch(31.5% 0.091 347.6);
Tailwind
colors: {
  custom: {
    50: '#845a70',
    500: '#511a3a',
    950: '#000000',
  },
}
SCSS
$custom: #511a3a;
$custom-light: #845a70;
$custom-dark: #000000;
JSON
{
  "hex": "#511a3a",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 325.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31544,
    "c": 0.09136,
    "h": 347.6
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#511A3A
secondary
#40875E
accent
#DB884D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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