#501222#501222

#501222 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.4% C 0.092 H 9.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#501222
RGBrgb(80, 18, 34)
HSLhsl(345, 63%, 19%)
HSVhsv(345, 78%, 31%)
CMYKcmyk(0%, 77.5%, 57.5%, 68.6%)
CIE-LABlab(16.77, 29.93, 6.05)
CIE-LCHlch(16.77, 30.54, 11.43°)
OKLaboklab(29.43% 0.0909 0.0154)
OKLCHoklch(29.43% 0.092 9.6)
XYZxyz(3.8136, 2.2541, 1.7473)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501222 #125040
analogous
#501241 #501222 #502112
triadic
#501222 #225012 #122250
tetradic
#501222 #415012 #125040 #211250
square
#501222 #415012 #125040 #211250
split-complementary
#501222 #125021 #124150
monochromatic
#19060B #1E070D #501222 #821D37 #B4284C

Accessibility & contrast

On white

14.47
#501222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501222
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501222#FFFFFF#000000##FFFFFF
##5012221.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212122
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#580618
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501222;
/* rgb */ color: rgb(80, 18, 34);
/* oklch */ color: oklch(29.4% 0.092 9.6);
Tailwind
colors: {
  custom: {
    50: '#85555c',
    500: '#501222',
    950: '#000000',
  },
}
SCSS
$custom: #501222;
$custom-light: #85555c;
$custom-dark: #000000;
JSON
{
  "hex": "#501222",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 344.516,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.09217,
    "h": 9.6
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#501222
secondary
#358973
accent
#E6BC41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501222

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

Preview Lab → · Contrast checker → · Palette generator →

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