#511D44#511D44

#511D44 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.094 H 338.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#511D44
RGBrgb(81, 29, 68)
HSLhsl(315, 47%, 22%)
HSVhsv(315, 64%, 32%)
CMYKcmyk(0%, 64.2%, 16%, 68.2%)
CIE-LABlab(20.23, 29.64, -12.79)
CIE-LCHlch(20.23, 32.28, 336.66°)
OKLaboklab(32.45% 0.0872 -0.0345)
OKLCHoklch(32.45% 0.094 338.4)
XYZxyz(4.8762, 3.0458, 5.7988)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D44 #1D512A
analogous
#441D51 #511D44 #511D2A
triadic
#511D44 #44511D #1D4451
tetradic
#511D44 #51441D #1D512A #1D2A51
square
#511D44 #51441D #1D512A #1D2A51
split-complementary
#511D44 #2A511D #1D5144
monochromatic
#170813 #240D1E #511D44 #7E2D6A #AB3D90

Accessibility & contrast

On white

13.05
#511D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D44
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D44#FFFFFF#000000##FFFFFF
##511D441.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#2E3443
Tritanopia (blue-blind)
#561F2D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511d44;
/* rgb */ color: rgb(81, 29, 68);
/* oklch */ color: oklch(32.5% 0.094 338.4);
Tailwind
colors: {
  custom: {
    50: '#845c78',
    500: '#511d44',
    950: '#000000',
  },
}
SCSS
$custom: #511d44;
$custom-light: #845c78;
$custom-dark: #000000;
JSON
{
  "hex": "#511d44",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 315,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.09381,
    "h": 338.4
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#511D44
secondary
#448654
accent
#D77251
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511D44

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

Preview Lab → · Contrast checker → · Palette generator →

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