#501338#501338

#501338 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.100 H 347.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#501338
RGBrgb(80, 19, 56)
HSLhsl(324, 62%, 19%)
HSVhsv(324, 76%, 31%)
CMYKcmyk(0%, 76.3%, 30%, 68.6%)
CIE-LABlab(17.72, 32.18, -8.29)
CIE-LCHlch(17.72, 33.23, 345.55°)
OKLaboklab(30.39% 0.0977 -0.0218)
OKLCHoklch(30.39% 0.1 347.4)
XYZxyz(4.2551, 2.4572, 3.9908)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501338 #13502B
analogous
#4A1350 #501338 #501319
triadic
#501338 #385013 #133850
tetradic
#501338 #504A13 #13502B #131950
square
#501338 #504A13 #13502B #131950
split-complementary
#501338 #195013 #13504A
monochromatic
#190611 #1F0715 #501338 #811F5B #B32A7D

Accessibility & contrast

On white

14.08
#501338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501338
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501338#FFFFFF#000000##FFFFFF
##5013381.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2539
Deuteranopia (green-blind)
#2D2F37
Tritanopia (blue-blind)
#561123
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501338;
/* rgb */ color: rgb(80, 19, 56);
/* oklch */ color: oklch(30.4% 0.100 347.4);
Tailwind
colors: {
  custom: {
    50: '#84576e',
    500: '#501338',
    950: '#000000',
  },
}
SCSS
$custom: #501338;
$custom-light: #84576e;
$custom-dark: #000000;
JSON
{
  "hex": "#501338",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 323.607,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30394,
    "c": 0.1001,
    "h": 347.4
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#501338
secondary
#368957
accent
#E58343
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501338

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

Preview Lab → · Contrast checker → · Palette generator →

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