#511544#511544

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

Color values

HEX#511544
RGBrgb(81, 21, 68)
HSLhsl(313, 59%, 20%)
HSVhsv(313, 74%, 32%)
CMYKcmyk(0%, 74.1%, 16%, 68.2%)
CIE-LABlab(18.81, 33.52, -14.97)
CIE-LCHlch(18.81, 36.72, 335.93°)
OKLaboklab(31.42% 0.0988 -0.0406)
OKLCHoklch(31.42% 0.107 337.7)
XYZxyz(4.7050, 2.7034, 5.7417)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511544 #155122
analogous
#401551 #511544 #511526
triadic
#511544 #445115 #154451
tetradic
#511544 #514015 #155122 #152651
square
#511544 #514015 #155122 #152651
split-complementary
#511544 #265115 #155140
monochromatic
#180614 #20081B #511544 #82226D #B22E96

Accessibility & contrast

On white

13.63
#511544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511544
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511544#FFFFFF#000000##FFFFFF
##5115441.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#2A3143
Tritanopia (blue-blind)
#56182A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511544;
/* rgb */ color: rgb(81, 21, 68);
/* oklch */ color: oklch(31.4% 0.107 337.7);
Tailwind
colors: {
  custom: {
    50: '#845878',
    500: '#511544',
    950: '#000000',
  },
}
SCSS
$custom: #511544;
$custom-light: #845878;
$custom-dark: #000000;
JSON
{
  "hex": "#511544",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 313,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.10683,
    "h": 337.7
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#511544
secondary
#39894A
accent
#E26846
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511544

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

Preview Lab → · Contrast checker → · Palette generator →

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