#501227#501227

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

Color values

HEX#501227
RGBrgb(80, 18, 39)
HSLhsl(340, 63%, 19%)
HSVhsv(340, 78%, 31%)
CMYKcmyk(0%, 77.5%, 51.2%, 68.6%)
CIE-LABlab(16.92, 30.44, 2.65)
CIE-LCHlch(16.92, 30.55, 4.98°)
OKLaboklab(29.59% 0.093 0.0071)
OKLCHoklch(29.59% 0.093 4.4)
XYZxyz(3.8911, 2.2851, 2.1552)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501227 #12503B
analogous
#501246 #501227 #501C12
triadic
#501227 #275012 #122750
tetradic
#501227 #465012 #12503B #1C1250
square
#501227 #465012 #12503B #1C1250
split-complementary
#501227 #12501C #124650
monochromatic
#19060C #1E070F #501227 #821D3F #B42858

Accessibility & contrast

On white

14.41
#501227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501227
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501227#FFFFFF#000000##FFFFFF
##5012271.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202227
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#58081B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501227;
/* rgb */ color: rgb(80, 18, 39);
/* oklch */ color: oklch(29.6% 0.093 4.4);
Tailwind
colors: {
  custom: {
    50: '#855560',
    500: '#501227',
    950: '#000000',
  },
}
SCSS
$custom: #501227;
$custom-light: #855560;
$custom-dark: #000000;
JSON
{
  "hex": "#501227",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 339.677,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29587,
    "c": 0.09332,
    "h": 4.4
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#501227
secondary
#35896C
accent
#E6AE41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501227

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

Preview Lab → · Contrast checker → · Palette generator →

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