#501232#501232

#501232 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.098 H 353.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#501232
RGBrgb(80, 18, 50)
HSLhsl(329, 63%, 19%)
HSVhsv(329, 78%, 31%)
CMYKcmyk(0%, 77.5%, 37.5%, 68.6%)
CIE-LABlab(17.32, 31.76, -4.65)
CIE-LCHlch(17.32, 32.10, 351.67°)
OKLaboklab(30.01% 0.0972 -0.0119)
OKLCHoklch(30.01% 0.098 353)
XYZxyz(4.1005, 2.3689, 3.2583)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501232 #125030
analogous
#4F1250 #501232 #501213
triadic
#501232 #325012 #123250
tetradic
#501232 #504F12 #125030 #121350
square
#501232 #504F12 #125030 #121350
split-complementary
#501232 #135012 #12504F
monochromatic
#190610 #1E0713 #501232 #821D51 #B42870

Accessibility & contrast

On white

14.25
#501232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#501232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501232
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501232#FFFFFF#000000##FFFFFF
##5012321.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2333
Deuteranopia (green-blind)
#2E2F31
Tritanopia (blue-blind)
#570D20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501232;
/* rgb */ color: rgb(80, 18, 50);
/* oklch */ color: oklch(30.0% 0.098 353.0);
Tailwind
colors: {
  custom: {
    50: '#845669',
    500: '#501232',
    950: '#000000',
  },
}
SCSS
$custom: #501232;
$custom-light: #845669;
$custom-dark: #000000;
JSON
{
  "hex": "#501232",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 329.032,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.09794,
    "h": 353
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#501232
secondary
#35895E
accent
#E69141
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #501232

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

Preview Lab → · Contrast checker → · Palette generator →

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