#501740#501740

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

Color values

HEX#501740
RGBrgb(80, 23, 64)
HSLhsl(317, 55%, 20%)
HSVhsv(317, 71%, 31%)
CMYKcmyk(0%, 71.2%, 20%, 68.6%)
CIE-LABlab(18.75, 31.63, -12.32)
CIE-LCHlch(18.75, 33.94, 338.72°)
OKLaboklab(31.27% 0.0941 -0.0331)
OKLCHoklch(31.27% 0.1 340.6)
XYZxyz(4.5402, 2.6888, 5.1294)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501740 #175027
analogous
#431750 #501740 #501723
triadic
#501740 #405017 #174050
tetradic
#501740 #504317 #175027 #172350
square
#501740 #504317 #175027 #172350
split-complementary
#501740 #235017 #175043
monochromatic
#180713 #20091A #501740 #802566 #AF328C

Accessibility & contrast

On white

13.66
#501740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501740
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501740#FFFFFF#000000##FFFFFF
##5017401.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#551829
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501740;
/* rgb */ color: rgb(80, 23, 64);
/* oklch */ color: oklch(31.3% 0.100 340.6);
Tailwind
colors: {
  custom: {
    50: '#835975',
    500: '#501740',
    950: '#000000',
  },
}
SCSS
$custom: #501740;
$custom-light: #835975;
$custom-dark: #000000;
JSON
{
  "hex": "#501740",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 316.842,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.09977,
    "h": 340.6
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#501740
secondary
#3C8751
accent
#DF7349
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501740

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

Preview Lab → · Contrast checker → · Palette generator →

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