#501642#501642

#501642 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.103 H 338.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#501642
RGBrgb(80, 22, 66)
HSLhsl(314, 57%, 20%)
HSVhsv(314, 73%, 31%)
CMYKcmyk(0%, 72.5%, 17.5%, 68.6%)
CIE-LABlab(18.68, 32.43, -13.81)
CIE-LCHlch(18.68, 35.25, 336.94°)
OKLaboklab(31.25% 0.0959 -0.0373)
OKLCHoklch(31.25% 0.103 338.7)
XYZxyz(4.5786, 2.6730, 5.4280)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501642 #165024
analogous
#411650 #501642 #501625
triadic
#501642 #425016 #164250
tetradic
#501642 #504116 #165024 #162550
square
#501642 #504116 #165024 #162550
split-complementary
#501642 #255016 #165041
monochromatic
#180714 #20091A #501642 #80236A #B03091

Accessibility & contrast

On white

13.68
#501642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#501642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501642
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501642#FFFFFF#000000##FFFFFF
##5016421.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#551829
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501642;
/* rgb */ color: rgb(80, 22, 66);
/* oklch */ color: oklch(31.3% 0.103 338.7);
Tailwind
colors: {
  custom: {
    50: '#835876',
    500: '#501642',
    950: '#000000',
  },
}
SCSS
$custom: #501642;
$custom-light: #835876;
$custom-dark: #000000;
JSON
{
  "hex": "#501642",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 314.483,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.10293,
    "h": 338.7
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#501642
secondary
#3A874D
accent
#E06C48
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501642

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

Preview Lab → · Contrast checker → · Palette generator →

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