#501640#501640

#501640 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.101 H 340.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#501640
RGBrgb(80, 22, 64)
HSLhsl(317, 57%, 20%)
HSVhsv(317, 73%, 31%)
CMYKcmyk(0%, 72.5%, 20%, 68.6%)
CIE-LABlab(18.58, 32.09, -12.58)
CIE-LCHlch(18.58, 34.47, 338.60°)
OKLaboklab(31.15% 0.0955 -0.0338)
OKLCHoklch(31.15% 0.101 340.5)
XYZxyz(4.5207, 2.6499, 5.1229)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501640 #165026
analogous
#431650 #501640 #501623
triadic
#501640 #405016 #164050
tetradic
#501640 #504316 #165026 #162350
square
#501640 #504316 #165026 #162350
split-complementary
#501640 #235016 #165043
monochromatic
#180713 #20091A #501640 #802366 #B0308D

Accessibility & contrast

On white

13.73
#501640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501640
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501640#FFFFFF#000000##FFFFFF
##5016401.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#551728
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501640;
/* rgb */ color: rgb(80, 22, 64);
/* oklch */ color: oklch(31.1% 0.101 340.5);
Tailwind
colors: {
  custom: {
    50: '#835875',
    500: '#501640',
    950: '#000000',
  },
}
SCSS
$custom: #501640;
$custom-light: #835875;
$custom-dark: #000000;
JSON
{
  "hex": "#501640",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 316.552,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31146,
    "c": 0.10135,
    "h": 340.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#501640
secondary
#3A8750
accent
#E07248
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501640

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

Preview Lab → · Contrast checker → · Palette generator →

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