#501236#501236

#501236 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.100 H 349.1°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#501236
RGBrgb(80, 18, 54)
HSLhsl(325, 63%, 19%)
HSVhsv(325, 78%, 31%)
CMYKcmyk(0%, 77.5%, 32.5%, 68.6%)
CIE-LABlab(17.48, 32.31, -7.24)
CIE-LCHlch(17.48, 33.12, 347.37°)
OKLaboklab(30.19% 0.0985 -0.019)
OKLCHoklch(30.19% 0.1 349.1)
XYZxyz(4.1906, 2.4049, 3.7328)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501236 #12502C
analogous
#4B1250 #501236 #501217
triadic
#501236 #365012 #123650
tetradic
#501236 #504B12 #12502C #121750
square
#501236 #504B12 #12502C #121750
split-complementary
#501236 #175012 #12504B
monochromatic
#190611 #1E0714 #501236 #821D58 #B42879

Accessibility & contrast

On white

14.18
#501236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#501236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501236
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501236#FFFFFF#000000##FFFFFF
##5012361.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#2D2F35
Tritanopia (blue-blind)
#560F22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501236;
/* rgb */ color: rgb(80, 18, 54);
/* oklch */ color: oklch(30.2% 0.100 349.1);
Tailwind
colors: {
  custom: {
    50: '#84566d',
    500: '#501236',
    950: '#000000',
  },
}
SCSS
$custom: #501236;
$custom-light: #84566d;
$custom-dark: #000000;
JSON
{
  "hex": "#501236",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 325.161,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30189,
    "c": 0.10026,
    "h": 349.1
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#501236
secondary
#358958
accent
#E68741
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501236

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

Preview Lab → · Contrast checker → · Palette generator →

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