#511A43#511A43

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

Color values

HEX#511A43
RGBrgb(81, 26, 67)
HSLhsl(315, 51%, 21%)
HSVhsv(315, 68%, 32%)
CMYKcmyk(0%, 67.9%, 17.3%, 68.2%)
CIE-LABlab(19.61, 31.00, -13.05)
CIE-LCHlch(19.61, 33.63, 337.18°)
OKLaboklab(31.99% 0.0916 -0.0352)
OKLCHoklch(31.99% 0.098 339)
XYZxyz(4.7759, 2.8938, 5.6161)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A43 #1A5128
analogous
#431A51 #511A43 #511A27
triadic
#511A43 #43511A #1A4351
tetradic
#511A43 #51431A #1A5128 #1A2751
square
#511A43 #51431A #1A5128 #1A2751
split-complementary
#511A43 #27511A #1A5143
monochromatic
#170713 #230B1D #511A43 #7F2969 #AE3890

Accessibility & contrast

On white

13.30
#511A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A43
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A43#FFFFFF#000000##FFFFFF
##511A431.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A44
Deuteranopia (green-blind)
#2D3342
Tritanopia (blue-blind)
#561C2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a43;
/* rgb */ color: rgb(81, 26, 67);
/* oklch */ color: oklch(32.0% 0.098 339.0);
Tailwind
colors: {
  custom: {
    50: '#845b77',
    500: '#511a43',
    950: '#000000',
  },
}
SCSS
$custom: #511a43;
$custom-light: #845b77;
$custom-dark: #000000;
JSON
{
  "hex": "#511a43",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 315.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31985,
    "c": 0.09813,
    "h": 339
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#511A43
secondary
#408752
accent
#DB714D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511A43

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

Preview Lab → · Contrast checker → · Palette generator →

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