#501038#501038

#501038 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 346.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#501038
RGBrgb(80, 16, 56)
HSLhsl(323, 67%, 19%)
HSVhsv(323, 80%, 31%)
CMYKcmyk(0%, 80%, 30%, 68.6%)
CIE-LABlab(17.28, 33.42, -8.96)
CIE-LCHlch(17.28, 34.60, 344.98°)
OKLaboklab(30.07% 0.1015 -0.0237)
OKLCHoklch(30.07% 0.104 346.9)
XYZxyz(4.2076, 2.3620, 3.9750)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501038 #105028
analogous
#481050 #501038 #501018
triadic
#501038 #385010 #103850
tetradic
#501038 #504810 #105028 #101850
square
#501038 #504810 #105028 #101850
split-complementary
#501038 #185010 #105048
monochromatic
#1A0512 #1D0614 #501038 #831A5C #B6247F

Accessibility & contrast

On white

14.26
#501038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501038
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501038#FFFFFF#000000##FFFFFF
##5010381.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192339
Deuteranopia (green-blind)
#2C2E37
Tritanopia (blue-blind)
#560E22
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501038;
/* rgb */ color: rgb(80, 16, 56);
/* oklch */ color: oklch(30.1% 0.104 346.9);
Tailwind
colors: {
  custom: {
    50: '#84556e',
    500: '#501038',
    950: '#000000',
  },
}
SCSS
$custom: #501038;
$custom-light: #84556e;
$custom-dark: #000000;
JSON
{
  "hex": "#501038",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 322.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30072,
    "c": 0.10426,
    "h": 346.9
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#501038
secondary
#328A53
accent
#EA7E3E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501038

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

Preview Lab → · Contrast checker → · Palette generator →

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