#501342#501342

#501342 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.107 H 338.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#501342
RGBrgb(80, 19, 66)
HSLhsl(314, 62%, 19%)
HSVhsv(314, 76%, 31%)
CMYKcmyk(0%, 76.3%, 17.5%, 68.6%)
CIE-LABlab(18.21, 33.75, -14.54)
CIE-LCHlch(18.21, 36.75, 336.69°)
OKLaboklab(30.91% 0.0999 -0.0394)
OKLCHoklch(30.91% 0.107 338.5)
XYZxyz(4.5246, 2.5650, 5.4100)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501342 #135021
analogous
#401350 #501342 #501324
triadic
#501342 #425013 #134250
tetradic
#501342 #504013 #135021 #132450
square
#501342 #504013 #135021 #132450
split-complementary
#501342 #245013 #135040
monochromatic
#190614 #1F0719 #501342 #811F6B #B32A94

Accessibility & contrast

On white

13.88
#501342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501342
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501342#FFFFFF#000000##FFFFFF
##5013421.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162643
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#551628
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501342;
/* rgb */ color: rgb(80, 19, 66);
/* oklch */ color: oklch(30.9% 0.107 338.5);
Tailwind
colors: {
  custom: {
    50: '#845776',
    500: '#501342',
    950: '#000000',
  },
}
SCSS
$custom: #501342;
$custom-light: #845776;
$custom-dark: #000000;
JSON
{
  "hex": "#501342",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 313.77,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.10738,
    "h": 338.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#501342
secondary
#368949
accent
#E56843
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501342

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

Preview Lab → · Contrast checker → · Palette generator →

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