#501028#501028

#501028 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.096 H 2.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#501028
RGBrgb(80, 16, 40)
HSLhsl(338, 67%, 19%)
HSVhsv(338, 80%, 31%)
CMYKcmyk(0%, 80%, 50%, 68.6%)
CIE-LABlab(16.65, 31.38, 1.55)
CIE-LCHlch(16.65, 31.42, 2.82°)
OKLaboklab(29.4% 0.0961 0.0043)
OKLCHoklch(29.4% 0.096 2.6)
XYZxyz(3.8769, 2.2298, 2.2333)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501028 #105038
analogous
#501048 #501028 #501810
triadic
#501028 #285010 #102850
tetradic
#501028 #485010 #105038 #181050
square
#501028 #485010 #105038 #181050
split-complementary
#501028 #105018 #104850
monochromatic
#1A050D #1D060F #501028 #831A42 #B6245B

Accessibility & contrast

On white

14.52
#501028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#501028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501028
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501028#FFFFFF#000000##FFFFFF
##5010281.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#58051A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501028;
/* rgb */ color: rgb(80, 16, 40);
/* oklch */ color: oklch(29.4% 0.096 2.6);
Tailwind
colors: {
  custom: {
    50: '#855561',
    500: '#501028',
    950: '#000000',
  },
}
SCSS
$custom: #501028;
$custom-light: #855561;
$custom-dark: #000000;
JSON
{
  "hex": "#501028",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 337.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.294,
    "c": 0.09624,
    "h": 2.6
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#501028
secondary
#328A69
accent
#EAA93E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501028

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

Preview Lab → · Contrast checker → · Palette generator →

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