#501242#501242

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

Color values

HEX#501242
RGBrgb(80, 18, 66)
HSLhsl(314, 63%, 19%)
HSVhsv(314, 78%, 31%)
CMYKcmyk(0%, 77.5%, 17.5%, 68.6%)
CIE-LABlab(18.06, 34.17, -14.77)
CIE-LCHlch(18.06, 37.23, 336.62°)
OKLaboklab(30.8% 0.1012 -0.04)
OKLCHoklch(30.8% 0.109 338.4)
XYZxyz(4.5080, 2.5319, 5.4045)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501242 #125020
analogous
#3F1250 #501242 #501223
triadic
#501242 #425012 #124250
tetradic
#501242 #503F12 #125020 #122350
square
#501242 #503F12 #125020 #122350
split-complementary
#501242 #235012 #12503F
monochromatic
#190615 #1E0719 #501242 #821D6B #B42894

Accessibility & contrast

On white

13.94
#501242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501242
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501242#FFFFFF#000000##FFFFFF
##5012421.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152643
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#551528
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501242;
/* rgb */ color: rgb(80, 18, 66);
/* oklch */ color: oklch(30.8% 0.109 338.4);
Tailwind
colors: {
  custom: {
    50: '#845676',
    500: '#501242',
    950: '#000000',
  },
}
SCSS
$custom: #501242;
$custom-light: #845676;
$custom-dark: #000000;
JSON
{
  "hex": "#501242",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 313.548,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.308,
    "c": 0.10878,
    "h": 338.4
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#501242
secondary
#358948
accent
#E66741
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501242

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

Preview Lab → · Contrast checker → · Palette generator →

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