#511A3C#511A3C

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

Color values

HEX#511A3C
RGBrgb(81, 26, 60)
HSLhsl(323, 51%, 21%)
HSVhsv(323, 68%, 32%)
CMYKcmyk(0%, 67.9%, 25.9%, 68.2%)
CIE-LABlab(19.29, 29.83, -8.70)
CIE-LCHlch(19.29, 31.07, 343.74°)
OKLaboklab(31.64% 0.0898 -0.023)
OKLCHoklch(31.64% 0.093 345.6)
XYZxyz(4.5785, 2.8148, 4.5763)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A3C #1A512F
analogous
#4A1A51 #511A3C #511A20
triadic
#511A3C #3C511A #1A3C51
tetradic
#511A3C #514A1A #1A512F #1A2051
square
#511A3C #514A1A #1A512F #1A2051
split-complementary
#511A3C #20511A #1A514A
monochromatic
#170711 #230B1A #511A3C #7F295E #AE3881

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511A3C#FFFFFF#000000##FFFFFF
##511A3C1.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)
#20293D
Deuteranopia (green-blind)
#2F323B
Tritanopia (blue-blind)
#571928
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a3c;
/* rgb */ color: rgb(81, 26, 60);
/* oklch */ color: oklch(31.6% 0.093 345.6);
Tailwind
colors: {
  custom: {
    50: '#845a71',
    500: '#511a3c',
    950: '#000000',
  },
}
SCSS
$custom: #511a3c;
$custom-light: #845a71;
$custom-dark: #000000;
JSON
{
  "hex": "#511a3c",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 322.909,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.09274,
    "h": 345.6
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#511A3C
secondary
#40875B
accent
#DB834D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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