#501239#501239

#501239 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.102 H 346.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#501239
RGBrgb(80, 18, 57)
HSLhsl(322, 63%, 19%)
HSVhsv(322, 78%, 31%)
CMYKcmyk(0%, 77.5%, 28.8%, 68.6%)
CIE-LABlab(17.62, 32.75, -9.16)
CIE-LCHlch(17.62, 34.01, 344.38°)
OKLaboklab(30.33% 0.0993 -0.0242)
OKLCHoklch(30.33% 0.102 346.3)
XYZxyz(4.2633, 2.4339, 4.1154)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501239 #125029
analogous
#481250 #501239 #50121A
triadic
#501239 #395012 #123950
tetradic
#501239 #504812 #125029 #121A50
square
#501239 #504812 #125029 #121A50
split-complementary
#501239 #1A5012 #125048
monochromatic
#190612 #1E0715 #501239 #821D5D #B42880

Accessibility & contrast

On white

14.13
#501239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#501239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501239
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501239#FFFFFF#000000##FFFFFF
##5012391.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A243A
Deuteranopia (green-blind)
#2C2F38
Tritanopia (blue-blind)
#561023
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501239;
/* rgb */ color: rgb(80, 18, 57);
/* oklch */ color: oklch(30.3% 0.102 346.3);
Tailwind
colors: {
  custom: {
    50: '#84566f',
    500: '#501239',
    950: '#000000',
  },
}
SCSS
$custom: #501239;
$custom-light: #84566f;
$custom-dark: #000000;
JSON
{
  "hex": "#501239",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 322.258,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30331,
    "c": 0.1022,
    "h": 346.3
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#501239
secondary
#358954
accent
#E67F41
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501239

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

Preview Lab → · Contrast checker → · Palette generator →

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