#501945#501945

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

Color values

HEX#501945
RGBrgb(80, 25, 69)
HSLhsl(312, 52%, 21%)
HSVhsv(312, 69%, 31%)
CMYKcmyk(0%, 68.8%, 13.8%, 68.6%)
CIE-LABlab(19.35, 31.53, -14.84)
CIE-LCHlch(19.35, 34.85, 334.79°)
OKLaboklab(31.79% 0.0923 -0.0403)
OKLCHoklch(31.79% 0.101 336.4)
XYZxyz(4.7301, 2.8308, 5.9263)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501945 #195024
analogous
#3F1950 #501945 #501929
triadic
#501945 #455019 #194550
tetradic
#501945 #503F19 #195024 #192950
square
#501945 #503F19 #195024 #192950
split-complementary
#501945 #295019 #19503F
monochromatic
#170714 #210A1D #501945 #7F286D #AD3695

Accessibility & contrast

On white

13.41
#501945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501945
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501945#FFFFFF#000000##FFFFFF
##5019451.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#2B3244
Tritanopia (blue-blind)
#541C2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501945;
/* rgb */ color: rgb(80, 25, 69);
/* oklch */ color: oklch(31.8% 0.101 336.4);
Tailwind
colors: {
  custom: {
    50: '#835a78',
    500: '#501945',
    950: '#000000',
  },
}
SCSS
$custom: #501945;
$custom-light: #835a78;
$custom-dark: #000000;
JSON
{
  "hex": "#501945",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 312,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.10066,
    "h": 336.4
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#501945
secondary
#3E864D
accent
#DC694C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501945

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

Preview Lab → · Contrast checker → · Palette generator →

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