#511644#511644

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

Color values

HEX#511644
RGBrgb(81, 22, 68)
HSLhsl(313, 57%, 20%)
HSVhsv(313, 73%, 32%)
CMYKcmyk(0%, 72.8%, 16%, 68.2%)
CIE-LABlab(18.97, 33.08, -14.73)
CIE-LCHlch(18.97, 36.21, 336.00°)
OKLaboklab(31.54% 0.0975 -0.0399)
OKLCHoklch(31.54% 0.105 337.7)
XYZxyz(4.7237, 2.7409, 5.7480)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511644 #165123
analogous
#401651 #511644 #511627
triadic
#511644 #445116 #164451
tetradic
#511644 #514016 #165123 #162751
square
#511644 #514016 #165123 #162751
split-complementary
#511644 #275116 #165140
monochromatic
#180714 #21091C #511644 #81236C #B13095

Accessibility & contrast

On white

13.56
#511644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511644
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511644#FFFFFF#000000##FFFFFF
##5116441.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#2B3143
Tritanopia (blue-blind)
#56192A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511644;
/* rgb */ color: rgb(81, 22, 68);
/* oklch */ color: oklch(31.5% 0.105 337.7);
Tailwind
colors: {
  custom: {
    50: '#845978',
    500: '#511644',
    950: '#000000',
  },
}
SCSS
$custom: #511644;
$custom-light: #845978;
$custom-dark: #000000;
JSON
{
  "hex": "#511644",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 313.22,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31535,
    "c": 0.10533,
    "h": 337.7
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#511644
secondary
#3A884C
accent
#E16947
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511644

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

Preview Lab → · Contrast checker → · Palette generator →

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