#501237#501237

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

Color values

HEX#501237
RGBrgb(80, 18, 55)
HSLhsl(324, 63%, 19%)
HSVhsv(324, 78%, 31%)
CMYKcmyk(0%, 77.5%, 31.2%, 68.6%)
CIE-LABlab(17.53, 32.46, -7.88)
CIE-LCHlch(17.53, 33.40, 346.35°)
OKLaboklab(30.24% 0.0987 -0.0207)
OKLCHoklch(30.24% 0.101 348.1)
XYZxyz(4.2144, 2.4144, 3.8578)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501237 #12502B
analogous
#4A1250 #501237 #501218
triadic
#501237 #375012 #123750
tetradic
#501237 #504A12 #12502B #121850
square
#501237 #504A12 #12502B #121850
split-complementary
#501237 #185012 #12504A
monochromatic
#190611 #1E0715 #501237 #821D59 #B4287C

Accessibility & contrast

On white

14.16
#501237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501237
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501237#FFFFFF#000000##FFFFFF
##5012371.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2438
Deuteranopia (green-blind)
#2D2F36
Tritanopia (blue-blind)
#561022
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501237;
/* rgb */ color: rgb(80, 18, 55);
/* oklch */ color: oklch(30.2% 0.101 348.1);
Tailwind
colors: {
  custom: {
    50: '#84566d',
    500: '#501237',
    950: '#000000',
  },
}
SCSS
$custom: #501237;
$custom-light: #84566d;
$custom-dark: #000000;
JSON
{
  "hex": "#501237",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 324.194,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30235,
    "c": 0.10089,
    "h": 348.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#501237
secondary
#358957
accent
#E68441
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501237

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

Preview Lab → · Contrast checker → · Palette generator →

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