#501946#501946

#501946 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.102 H 335.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#501946
RGBrgb(80, 25, 70)
HSLhsl(311, 52%, 21%)
HSVhsv(311, 69%, 31%)
CMYKcmyk(0%, 68.8%, 12.5%, 68.6%)
CIE-LABlab(19.41, 31.71, -15.45)
CIE-LCHlch(19.41, 35.27, 334.03°)
OKLaboklab(31.85% 0.0924 -0.042)
OKLCHoklch(31.85% 0.102 335.6)
XYZxyz(4.7614, 2.8433, 6.0912)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501946 #195023
analogous
#3E1950 #501946 #50192A
triadic
#501946 #465019 #194650
tetradic
#501946 #503E19 #195023 #192A50
square
#501946 #503E19 #195023 #192A50
split-complementary
#501946 #2A5019 #19503E
monochromatic
#170714 #210A1D #501946 #7F286F #AD3698

Accessibility & contrast

On white

13.39
#501946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501946
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501946#FFFFFF#000000##FFFFFF
##5019461.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#2B3245
Tritanopia (blue-blind)
#541C2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501946;
/* rgb */ color: rgb(80, 25, 70);
/* oklch */ color: oklch(31.8% 0.102 335.6);
Tailwind
colors: {
  custom: {
    50: '#835a79',
    500: '#501946',
    950: '#000000',
  },
}
SCSS
$custom: #501946;
$custom-light: #835a79;
$custom-dark: #000000;
JSON
{
  "hex": "#501946",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 310.909,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31846,
    "c": 0.10153,
    "h": 335.6
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#501946
secondary
#3E864B
accent
#DC664C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501946

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

Preview Lab → · Contrast checker → · Palette generator →

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