#511543#511543

#511543 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.106 H 338.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#511543
RGBrgb(81, 21, 67)
HSLhsl(314, 59%, 20%)
HSVhsv(314, 74%, 32%)
CMYKcmyk(0%, 74.1%, 17.3%, 68.2%)
CIE-LABlab(18.76, 33.35, -14.36)
CIE-LCHlch(18.76, 36.32, 336.70°)
OKLaboklab(31.36% 0.0986 -0.0389)
OKLCHoklch(31.36% 0.106 338.5)
XYZxyz(4.6747, 2.6913, 5.5824)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511543 #155123
analogous
#411551 #511543 #511525
triadic
#511543 #435115 #154351
tetradic
#511543 #514115 #155123 #152551
square
#511543 #514115 #155123 #152551
split-complementary
#511543 #255115 #155141
monochromatic
#180614 #20081B #511543 #82226B #B22E93

Accessibility & contrast

On white

13.65
#511543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511543 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511543
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511543#FFFFFF#000000##FFFFFF
##5115431.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182844
Deuteranopia (green-blind)
#2B3142
Tritanopia (blue-blind)
#561729
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511543;
/* rgb */ color: rgb(81, 21, 67);
/* oklch */ color: oklch(31.4% 0.106 338.5);
Tailwind
colors: {
  custom: {
    50: '#845877',
    500: '#511543',
    950: '#000000',
  },
}
SCSS
$custom: #511543;
$custom-light: #845877;
$custom-dark: #000000;
JSON
{
  "hex": "#511543",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 314,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31363,
    "c": 0.10602,
    "h": 338.5
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#511543
secondary
#39894C
accent
#E26A46
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511543

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

Preview Lab → · Contrast checker → · Palette generator →

#511543 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva