#501B47#501B47

#501B47 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.099 H 334.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#501B47
RGBrgb(80, 27, 71)
HSLhsl(310, 50%, 21%)
HSVhsv(310, 66%, 31%)
CMYKcmyk(0%, 66.3%, 11.2%, 68.6%)
CIE-LABlab(19.82, 30.90, -15.49)
CIE-LCHlch(19.82, 34.56, 333.38°)
OKLaboklab(32.17% 0.0897 -0.0421)
OKLCHoklch(32.17% 0.099 334.8)
XYZxyz(4.8376, 2.9446, 6.2736)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B47 #1B5024
analogous
#3E1B50 #501B47 #501B2C
triadic
#501B47 #47501B #1B4750
tetradic
#501B47 #503E1B #1B5024 #1B2C50
square
#501B47 #503E1B #1B5024 #1B2C50
split-complementary
#501B47 #2C501B #1B503E
monochromatic
#170814 #220C1E #501B47 #7E2A70 #AC3A98

Accessibility & contrast

On white

13.22
#501B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B47
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B47#FFFFFF#000000##FFFFFF
##501B471.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B48
Deuteranopia (green-blind)
#2B3346
Tritanopia (blue-blind)
#541E2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b47;
/* rgb */ color: rgb(80, 27, 71);
/* oklch */ color: oklch(32.2% 0.099 334.8);
Tailwind
colors: {
  custom: {
    50: '#835b7a',
    500: '#501b47',
    950: '#000000',
  },
}
SCSS
$custom: #501b47;
$custom-light: #835b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#501b47",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 310.189,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32168,
    "c": 0.09908,
    "h": 334.8
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#501B47
secondary
#41864D
accent
#D9664F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501B47

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

Preview Lab → · Contrast checker → · Palette generator →

#501B47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva