#501142#501142

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

Color values

HEX#501142
RGBrgb(80, 17, 66)
HSLhsl(313, 65%, 19%)
HSVhsv(313, 79%, 31%)
CMYKcmyk(0%, 78.8%, 17.5%, 68.6%)
CIE-LABlab(17.92, 34.57, -15.00)
CIE-LCHlch(17.92, 37.69, 336.55°)
OKLaboklab(30.7% 0.1024 -0.0406)
OKLCHoklch(30.7% 0.11 338.3)
XYZxyz(4.4922, 2.5001, 5.3992)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501142 #11501F
analogous
#3F1150 #501142 #501123
triadic
#501142 #425011 #114250
tetradic
#501142 #503F11 #11501F #112350
square
#501142 #503F11 #11501F #112350
split-complementary
#501142 #235011 #11503F
monochromatic
#190515 #1E0618 #501142 #821C6C #B52695

Accessibility & contrast

On white

14.00
#501142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501142
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501142#FFFFFF#000000##FFFFFF
##5011421.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142643
Deuteranopia (green-blind)
#292F41
Tritanopia (blue-blind)
#551428
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501142;
/* rgb */ color: rgb(80, 17, 66);
/* oklch */ color: oklch(30.7% 0.110 338.3);
Tailwind
colors: {
  custom: {
    50: '#845676',
    500: '#501142',
    950: '#000000',
  },
}
SCSS
$custom: #501142;
$custom-light: #845676;
$custom-dark: #000000;
JSON
{
  "hex": "#501142",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 313.333,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.11013,
    "h": 338.3
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#501142
secondary
#338947
accent
#E86540
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501142

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

Preview Lab → · Contrast checker → · Palette generator →

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