#501140#501140

#501140 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.109 H 340.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#501140
RGBrgb(80, 17, 64)
HSLhsl(315, 65%, 19%)
HSVhsv(315, 79%, 31%)
CMYKcmyk(0%, 78.8%, 20%, 68.6%)
CIE-LABlab(17.81, 34.24, -13.77)
CIE-LCHlch(17.81, 36.91, 338.10°)
OKLaboklab(30.59% 0.102 -0.0371)
OKLCHoklch(30.59% 0.109 340)
XYZxyz(4.4342, 2.4770, 5.0941)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501140 #115021
analogous
#411150 #501140 #501121
triadic
#501140 #405011 #114050
tetradic
#501140 #504111 #115021 #112150
square
#501140 #504111 #115021 #112150
split-complementary
#501140 #215011 #115041
monochromatic
#190514 #1E0618 #501140 #821C68 #B52691

Accessibility & contrast

On white

14.04
#501140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#501140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501140
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501140#FFFFFF#000000##FFFFFF
##5011401.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#551327
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501140;
/* rgb */ color: rgb(80, 17, 64);
/* oklch */ color: oklch(30.6% 0.109 340.0);
Tailwind
colors: {
  custom: {
    50: '#845675',
    500: '#501140',
    950: '#000000',
  },
}
SCSS
$custom: #501140;
$custom-light: #845675;
$custom-dark: #000000;
JSON
{
  "hex": "#501140",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 315.238,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.10859,
    "h": 340
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#501140
secondary
#338949
accent
#E86B40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501140

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

Preview Lab → · Contrast checker → · Palette generator →

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