#501940#501940

#501940 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.097 H 340.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#501940
RGBrgb(80, 25, 64)
HSLhsl(317, 52%, 21%)
HSVhsv(317, 69%, 31%)
CMYKcmyk(0%, 68.8%, 20%, 68.6%)
CIE-LABlab(19.10, 30.66, -11.77)
CIE-LCHlch(19.10, 32.84, 338.99°)
OKLaboklab(31.53% 0.0912 -0.0316)
OKLCHoklch(31.53% 0.097 340.9)
XYZxyz(4.5814, 2.7713, 5.1431)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501940 #195029
analogous
#441950 #501940 #501924
triadic
#501940 #405019 #194050
tetradic
#501940 #504419 #195029 #192450
square
#501940 #504419 #195029 #192450
split-complementary
#501940 #245019 #195044
monochromatic
#170713 #210A1B #501940 #7F2865 #AD368B

Accessibility & contrast

On white

13.51
#501940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#501940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501940
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501940#FFFFFF#000000##FFFFFF
##5019401.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2941
Deuteranopia (green-blind)
#2D323F
Tritanopia (blue-blind)
#551A2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501940;
/* rgb */ color: rgb(80, 25, 64);
/* oklch */ color: oklch(31.5% 0.097 340.9);
Tailwind
colors: {
  custom: {
    50: '#835a75',
    500: '#501940',
    950: '#000000',
  },
}
SCSS
$custom: #501940;
$custom-light: #835a75;
$custom-dark: #000000;
JSON
{
  "hex": "#501940",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 317.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.09652,
    "h": 340.9
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#501940
secondary
#3E8653
accent
#DC764C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501940

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

Preview Lab → · Contrast checker → · Palette generator →

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