#511E41#511E41

#511E41 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.4% C 0.090 H 341.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#511E41
RGBrgb(81, 30, 65)
HSLhsl(319, 46%, 22%)
HSVhsv(319, 63%, 32%)
CMYKcmyk(0%, 63%, 19.8%, 68.2%)
CIE-LABlab(20.28, 28.58, -10.64)
CIE-LCHlch(20.28, 30.49, 339.58°)
OKLaboklab(32.45% 0.0849 -0.0285)
OKLCHoklch(32.45% 0.09 341.5)
XYZxyz(4.8118, 3.0599, 5.3372)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E41 #1E512E
analogous
#481E51 #511E41 #511E28
triadic
#511E41 #41511E #1E4151
tetradic
#511E41 #51481E #1E512E #1E2851
square
#511E41 #51481E #1E512E #1E2851
split-complementary
#511E41 #28511E #1E5148
monochromatic
#160812 #240D1D #511E41 #7E2F65 #AA3F89

Accessibility & contrast

On white

13.03
#511E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E41
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E41#FFFFFF#000000##FFFFFF
##511E411.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C42
Deuteranopia (green-blind)
#303440
Tritanopia (blue-blind)
#561F2C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511e41;
/* rgb */ color: rgb(81, 30, 65);
/* oklch */ color: oklch(32.4% 0.090 341.5);
Tailwind
colors: {
  custom: {
    50: '#845d75',
    500: '#511e41',
    950: '#000000',
  },
}
SCSS
$custom: #511e41;
$custom-light: #845d75;
$custom-dark: #000000;
JSON
{
  "hex": "#511e41",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 318.824,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.08955,
    "h": 341.5
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#511E41
secondary
#458659
accent
#D67B52
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511E41

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

Preview Lab → · Contrast checker → · Palette generator →

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