#501226#501226

#501226 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.093 H 5.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#501226
RGBrgb(80, 18, 38)
HSLhsl(341, 63%, 19%)
HSVhsv(341, 78%, 31%)
CMYKcmyk(0%, 77.5%, 52.5%, 68.6%)
CIE-LABlab(16.89, 30.33, 3.33)
CIE-LCHlch(16.89, 30.52, 6.26°)
OKLaboklab(29.55% 0.0926 0.0088)
OKLCHoklch(29.55% 0.093 5.4)
XYZxyz(3.8747, 2.2785, 2.0691)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501226 #12503C
analogous
#501245 #501226 #501D12
triadic
#501226 #265012 #122650
tetradic
#501226 #455012 #12503C #1D1250
square
#501226 #455012 #12503C #1D1250
split-complementary
#501226 #12501D #124550
monochromatic
#19060C #1E070E #501226 #821D3E #B42855

Accessibility & contrast

On white

14.43
#501226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#501226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501226
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501226#FFFFFF#000000##FFFFFF
##5012261.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202226
Deuteranopia (green-blind)
#312E25
Tritanopia (blue-blind)
#58071A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501226;
/* rgb */ color: rgb(80, 18, 38);
/* oklch */ color: oklch(29.6% 0.093 5.4);
Tailwind
colors: {
  custom: {
    50: '#855560',
    500: '#501226',
    950: '#000000',
  },
}
SCSS
$custom: #501226;
$custom-light: #855560;
$custom-dark: #000000;
JSON
{
  "hex": "#501226",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 340.645,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29554,
    "c": 0.09304,
    "h": 5.4
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#501226
secondary
#35896E
accent
#E6B141
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501226

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

Preview Lab → · Contrast checker → · Palette generator →

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