#501240#501240

#501240 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.107 H 340.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#501240
RGBrgb(80, 18, 64)
HSLhsl(315, 63%, 19%)
HSVhsv(315, 78%, 31%)
CMYKcmyk(0%, 77.5%, 20%, 68.6%)
CIE-LABlab(17.96, 33.84, -13.54)
CIE-LCHlch(17.96, 36.45, 338.19°)
OKLaboklab(30.69% 0.1008 -0.0365)
OKLCHoklch(30.69% 0.107 340.1)
XYZxyz(4.4501, 2.5087, 5.0994)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501240 #125022
analogous
#411250 #501240 #501221
triadic
#501240 #405012 #124050
tetradic
#501240 #504112 #125022 #122150
square
#501240 #504112 #125022 #122150
split-complementary
#501240 #215012 #125041
monochromatic
#190614 #1E0718 #501240 #821D68 #B42890

Accessibility & contrast

On white

13.99
#501240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501240
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501240#FFFFFF#000000##FFFFFF
##5012401.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#2A2F3F
Tritanopia (blue-blind)
#551427
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501240;
/* rgb */ color: rgb(80, 18, 64);
/* oklch */ color: oklch(30.7% 0.107 340.1);
Tailwind
colors: {
  custom: {
    50: '#845675',
    500: '#501240',
    950: '#000000',
  },
}
SCSS
$custom: #501240;
$custom-light: #845675;
$custom-dark: #000000;
JSON
{
  "hex": "#501240",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 315.484,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3069,
    "c": 0.10722,
    "h": 340.1
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#501240
secondary
#35894B
accent
#E66C41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501240

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

Preview Lab → · Contrast checker → · Palette generator →

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