#511642#511642

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

Color values

HEX#511642
RGBrgb(81, 22, 66)
HSLhsl(315, 57%, 20%)
HSVhsv(315, 73%, 32%)
CMYKcmyk(0%, 72.8%, 18.5%, 68.2%)
CIE-LABlab(18.87, 32.74, -13.50)
CIE-LCHlch(18.87, 35.41, 337.59°)
OKLaboklab(31.43% 0.0971 -0.0364)
OKLCHoklch(31.43% 0.104 339.4)
XYZxyz(4.6637, 2.7169, 5.4320)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511642 #165125
analogous
#421651 #511642 #511624
triadic
#511642 #425116 #164251
tetradic
#511642 #514216 #165125 #162451
square
#511642 #514216 #165125 #162451
split-complementary
#511642 #245116 #165142
monochromatic
#180714 #21091B #511642 #812369 #B13090

Accessibility & contrast

On white

13.61
#511642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511642
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511642#FFFFFF#000000##FFFFFF
##5116421.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#2C3141
Tritanopia (blue-blind)
#561829
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511642;
/* rgb */ color: rgb(81, 22, 66);
/* oklch */ color: oklch(31.4% 0.104 339.4);
Tailwind
colors: {
  custom: {
    50: '#845976',
    500: '#511642',
    950: '#000000',
  },
}
SCSS
$custom: #511642;
$custom-light: #845976;
$custom-dark: #000000;
JSON
{
  "hex": "#511642",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 315.254,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.10372,
    "h": 339.4
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#511642
secondary
#3A884E
accent
#E16E47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511642

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

Preview Lab → · Contrast checker → · Palette generator →

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