#501126#501126

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

Color values

HEX#501126
RGBrgb(80, 17, 38)
HSLhsl(340, 65%, 19%)
HSVhsv(340, 79%, 31%)
CMYKcmyk(0%, 78.8%, 52.5%, 68.6%)
CIE-LABlab(16.73, 30.76, 3.11)
CIE-LCHlch(16.73, 30.92, 5.77°)
OKLaboklab(29.44% 0.094 0.0083)
OKLCHoklch(29.44% 0.094 5)
XYZxyz(3.8589, 2.2468, 2.0638)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501126 #11503B
analogous
#501146 #501126 #501C11
triadic
#501126 #265011 #112650
tetradic
#501126 #465011 #11503B #1C1150
square
#501126 #465011 #11503B #1C1150
split-complementary
#501126 #11501C #114650
monochromatic
#19050C #1E060E #501126 #821C3E #B52656

Accessibility & contrast

On white

14.49
#501126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501126
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501126#FFFFFF#000000##FFFFFF
##5011261.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202126
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#58061A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501126;
/* rgb */ color: rgb(80, 17, 38);
/* oklch */ color: oklch(29.4% 0.094 5.0);
Tailwind
colors: {
  custom: {
    50: '#855560',
    500: '#501126',
    950: '#000000',
  },
}
SCSS
$custom: #501126;
$custom-light: #855560;
$custom-dark: #000000;
JSON
{
  "hex": "#501126",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 340,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29441,
    "c": 0.09435,
    "h": 5
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#501126
secondary
#33896D
accent
#E8B040
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501126

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

Preview Lab → · Contrast checker → · Palette generator →

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