#501127#501127

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

Color values

HEX#501127
RGBrgb(80, 17, 39)
HSLhsl(339, 65%, 19%)
HSVhsv(339, 79%, 31%)
CMYKcmyk(0%, 78.8%, 51.2%, 68.6%)
CIE-LABlab(16.76, 30.86, 2.43)
CIE-LCHlch(16.76, 30.96, 4.51°)
OKLaboklab(29.47% 0.0944 0.0066)
OKLCHoklch(29.47% 0.095 4)
XYZxyz(3.8752, 2.2534, 2.1499)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501127 #11503A
analogous
#501147 #501127 #501B11
triadic
#501127 #275011 #112750
tetradic
#501127 #475011 #11503A #1B1150
square
#501127 #475011 #11503A #1B1150
split-complementary
#501127 #11501B #114750
monochromatic
#19050C #1E060E #501127 #821C40 #B52658

Accessibility & contrast

On white

14.48
#501127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501127
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501127#FFFFFF#000000##FFFFFF
##5011271.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2228
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#58061A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501127;
/* rgb */ color: rgb(80, 17, 39);
/* oklch */ color: oklch(29.5% 0.095 4.0);
Tailwind
colors: {
  custom: {
    50: '#855560',
    500: '#501127',
    950: '#000000',
  },
}
SCSS
$custom: #501127;
$custom-light: #855560;
$custom-dark: #000000;
JSON
{
  "hex": "#501127",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 339.048,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29474,
    "c": 0.09464,
    "h": 4
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#501127
secondary
#33896B
accent
#E8AD40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501127

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

Preview Lab → · Contrast checker → · Palette generator →

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