#501128#501128

#501128 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 2.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#501128
RGBrgb(80, 17, 40)
HSLhsl(338, 65%, 19%)
HSVhsv(338, 79%, 31%)
CMYKcmyk(0%, 78.8%, 50%, 68.6%)
CIE-LABlab(16.80, 30.97, 1.76)
CIE-LCHlch(16.80, 31.02, 3.25°)
OKLaboklab(29.51% 0.0948 0.0049)
OKLCHoklch(29.51% 0.095 2.9)
XYZxyz(3.8920, 2.2601, 2.2384)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501128 #115039
analogous
#501148 #501128 #501A11
triadic
#501128 #285011 #112850
tetradic
#501128 #485011 #115039 #1A1150
square
#501128 #485011 #115039 #1A1150
split-complementary
#501128 #11501A #114850
monochromatic
#19050D #1E060F #501128 #821C41 #B5265A

Accessibility & contrast

On white

14.46
#501128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501128
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501128#FFFFFF#000000##FFFFFF
##5011281.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2229
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#58071B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501128;
/* rgb */ color: rgb(80, 17, 40);
/* oklch */ color: oklch(29.5% 0.095 2.9);
Tailwind
colors: {
  custom: {
    50: '#855561',
    500: '#501128',
    950: '#000000',
  },
}
SCSS
$custom: #501128;
$custom-light: #855561;
$custom-dark: #000000;
JSON
{
  "hex": "#501128",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 338.095,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29509,
    "c": 0.09494,
    "h": 2.9
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#501128
secondary
#33896A
accent
#E8AB40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501128

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

Preview Lab → · Contrast checker → · Palette generator →

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