#511A44#511A44

#511A44 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.099 H 338.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#511A44
RGBrgb(81, 26, 68)
HSLhsl(314, 51%, 21%)
HSVhsv(314, 68%, 32%)
CMYKcmyk(0%, 67.9%, 16%, 68.2%)
CIE-LABlab(19.66, 31.17, -13.66)
CIE-LCHlch(19.66, 34.04, 336.34°)
OKLaboklab(32.04% 0.0918 -0.0369)
OKLCHoklch(32.04% 0.099 338.1)
XYZxyz(4.8062, 2.9059, 5.7755)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A44 #1A5127
analogous
#421A51 #511A44 #511A28
triadic
#511A44 #44511A #1A4451
tetradic
#511A44 #51421A #1A5127 #1A2851
square
#511A44 #51421A #1A5127 #1A2851
split-complementary
#511A44 #28511A #1A5142
monochromatic
#170713 #230B1D #511A44 #7F296B #AE3892

Accessibility & contrast

On white

13.28
#511A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A44
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A44#FFFFFF#000000##FFFFFF
##511A441.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#2D3343
Tritanopia (blue-blind)
#561C2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511a44;
/* rgb */ color: rgb(81, 26, 68);
/* oklch */ color: oklch(32.0% 0.099 338.1);
Tailwind
colors: {
  custom: {
    50: '#845b78',
    500: '#511a44',
    950: '#000000',
  },
}
SCSS
$custom: #511a44;
$custom-light: #845b78;
$custom-dark: #000000;
JSON
{
  "hex": "#511a44",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 314.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32037,
    "c": 0.09896,
    "h": 338.1
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#511A44
secondary
#408751
accent
#DB6E4D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511A44

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

Preview Lab → · Contrast checker → · Palette generator →

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