#511E43#511E43

#511E43 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.091 H 339.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#511E43
RGBrgb(81, 30, 67)
HSLhsl(316, 46%, 22%)
HSVhsv(316, 63%, 32%)
CMYKcmyk(0%, 63%, 17.3%, 68.2%)
CIE-LABlab(20.38, 28.93, -11.87)
CIE-LCHlch(20.38, 31.27, 337.69°)
OKLaboklab(32.55% 0.0854 -0.0319)
OKLCHoklch(32.55% 0.091 339.5)
XYZxyz(4.8708, 3.0835, 5.6477)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E43 #1E512C
analogous
#461E51 #511E43 #511E2A
triadic
#511E43 #43511E #1E4351
tetradic
#511E43 #51461E #1E512C #1E2A51
square
#511E43 #51461E #1E512C #1E2A51
split-complementary
#511E43 #2A511E #1E5146
monochromatic
#160812 #240D1E #511E43 #7E2F68 #AA3F8D

Accessibility & contrast

On white

12.99
#511E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E43
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E43#FFFFFF#000000##FFFFFF
##511E431.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C44
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#561F2D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511e43;
/* rgb */ color: rgb(81, 30, 67);
/* oklch */ color: oklch(32.5% 0.091 339.5);
Tailwind
colors: {
  custom: {
    50: '#845d77',
    500: '#511e43',
    950: '#000000',
  },
}
SCSS
$custom: #511e43;
$custom-light: #845d77;
$custom-dark: #000000;
JSON
{
  "hex": "#511e43",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 316.471,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.09119,
    "h": 339.5
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#511E43
secondary
#458657
accent
#D67652
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511E43

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

Preview Lab → · Contrast checker → · Palette generator →

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