#511A39#511A39

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

Color values

HEX#511A39
RGBrgb(81, 26, 57)
HSLhsl(326, 51%, 21%)
HSVhsv(326, 68%, 32%)
CMYKcmyk(0%, 67.9%, 29.6%, 68.2%)
CIE-LABlab(19.16, 29.36, -6.80)
CIE-LCHlch(19.16, 30.14, 346.96°)
OKLaboklab(31.5% 0.0889 -0.0178)
OKLCHoklch(31.5% 0.091 348.7)
XYZxyz(4.5014, 2.7840, 4.1704)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A39 #1A5132
analogous
#4D1A51 #511A39 #511A1D
triadic
#511A39 #39511A #1A3951
tetradic
#511A39 #514D1A #1A5132 #1A1D51
square
#511A39 #514D1A #1A5132 #1A1D51
split-complementary
#511A39 #1D511A #1A514D
monochromatic
#170710 #230B18 #511A39 #7F295A #AE387A

Accessibility & contrast

On white

13.49
#511A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A39
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A39#FFFFFF#000000##FFFFFF
##511A391.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#303238
Tritanopia (blue-blind)
#571827
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511a39;
/* rgb */ color: rgb(81, 26, 57);
/* oklch */ color: oklch(31.5% 0.091 348.7);
Tailwind
colors: {
  custom: {
    50: '#845a6f',
    500: '#511a39',
    950: '#000000',
  },
}
SCSS
$custom: #511a39;
$custom-light: #845a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#511a39",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 326.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31499,
    "c": 0.0907,
    "h": 348.7
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#511A39
secondary
#40875F
accent
#DB8B4D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511A39

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

Preview Lab → · Contrast checker → · Palette generator →

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