#511E44#511E44

#511E44 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.092 H 338.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#511E44
RGBrgb(81, 30, 68)
HSLhsl(315, 46%, 22%)
HSVhsv(315, 63%, 32%)
CMYKcmyk(0%, 63%, 16%, 68.2%)
CIE-LABlab(20.42, 29.11, -12.48)
CIE-LCHlch(20.42, 31.67, 336.79°)
OKLaboklab(32.6% 0.0857 -0.0336)
OKLCHoklch(32.6% 0.092 338.6)
XYZxyz(4.9011, 3.0956, 5.8071)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E44 #1E512B
analogous
#451E51 #511E44 #511E2B
triadic
#511E44 #44511E #1E4451
tetradic
#511E44 #51451E #1E512B #1E2B51
square
#511E44 #51451E #1E512B #1E2B51
split-complementary
#511E44 #2B511E #1E5145
monochromatic
#160813 #240D1F #511E44 #7E2F69 #AA3F8F

Accessibility & contrast

On white

12.97
#511E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#511E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E44
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E44#FFFFFF#000000##FFFFFF
##511E441.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C45
Deuteranopia (green-blind)
#2F3443
Tritanopia (blue-blind)
#56202E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511e44;
/* rgb */ color: rgb(81, 30, 68);
/* oklch */ color: oklch(32.6% 0.092 338.6);
Tailwind
colors: {
  custom: {
    50: '#845d78',
    500: '#511e44',
    950: '#000000',
  },
}
SCSS
$custom: #511e44;
$custom-light: #845d78;
$custom-dark: #000000;
JSON
{
  "hex": "#511e44",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 315.294,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32596,
    "c": 0.09203,
    "h": 338.6
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#511E44
secondary
#458655
accent
#D67452
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511E44

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

Preview Lab → · Contrast checker → · Palette generator →

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