#501428#501428

#501428 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 4.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#501428
RGBrgb(80, 20, 40)
HSLhsl(340, 60%, 20%)
HSVhsv(340, 75%, 31%)
CMYKcmyk(0%, 75%, 50%, 68.6%)
CIE-LABlab(17.27, 29.66, 2.44)
CIE-LCHlch(17.27, 29.76, 4.70°)
OKLaboklab(29.86% 0.0906 0.0066)
OKLCHoklch(29.86% 0.091 4.2)
XYZxyz(3.9417, 2.3595, 2.2549)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501428 #14503C
analogous
#501446 #501428 #501E14
triadic
#501428 #285014 #142850
tetradic
#501428 #465014 #14503C #1E1450
square
#501428 #465014 #14503C #1E1450
split-complementary
#501428 #14501E #144650
monochromatic
#18060C #1F0810 #501428 #812040 #B22C59

Accessibility & contrast

On white

14.27
#501428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501428
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501428#FFFFFF#000000##FFFFFF
##5014281.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#570B1C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501428;
/* rgb */ color: rgb(80, 20, 40);
/* oklch */ color: oklch(29.9% 0.091 4.2);
Tailwind
colors: {
  custom: {
    50: '#855661',
    500: '#501428',
    950: '#000000',
  },
}
SCSS
$custom: #501428;
$custom-light: #855661;
$custom-dark: #000000;
JSON
{
  "hex": "#501428",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2986,
    "c": 0.09087,
    "h": 4.2
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#501428
secondary
#38886D
accent
#E3AE45
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501428

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

Preview Lab → · Contrast checker → · Palette generator →

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