#511B44#511B44

#511B44 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.097 H 338.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#511B44
RGBrgb(81, 27, 68)
HSLhsl(314, 50%, 21%)
HSVhsv(314, 67%, 32%)
CMYKcmyk(0%, 66.7%, 16%, 68.2%)
CIE-LABlab(19.85, 30.67, -13.37)
CIE-LCHlch(19.85, 33.46, 336.44°)
OKLaboklab(32.17% 0.0903 -0.0361)
OKLCHoklch(32.17% 0.097 338.2)
XYZxyz(4.8287, 2.9510, 5.7830)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B44 #1B5128
analogous
#431B51 #511B44 #511B29
triadic
#511B44 #44511B #1B4451
tetradic
#511B44 #51431B #1B5128 #1B2951
square
#511B44 #51431B #1B5128 #1B2951
split-complementary
#511B44 #29511B #1B5143
monochromatic
#170813 #230C1D #511B44 #7F2A6B #AD3A91

Accessibility & contrast

On white

13.21
#511B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B44
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B44#FFFFFF#000000##FFFFFF
##511B441.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511b44;
/* rgb */ color: rgb(81, 27, 68);
/* oklch */ color: oklch(32.2% 0.097 338.2);
Tailwind
colors: {
  custom: {
    50: '#845b78',
    500: '#511b44',
    950: '#000000',
  },
}
SCSS
$custom: #511b44;
$custom-light: #845b78;
$custom-dark: #000000;
JSON
{
  "hex": "#511b44",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 314.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32172,
    "c": 0.09727,
    "h": 338.2
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#511B44
secondary
#418752
accent
#DA704E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511B44

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

Preview Lab → · Contrast checker → · Palette generator →

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