#501245#501245

#501245 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.111 H 336.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#501245
RGBrgb(80, 18, 69)
HSLhsl(311, 63%, 19%)
HSVhsv(311, 78%, 31%)
CMYKcmyk(0%, 77.5%, 13.8%, 68.6%)
CIE-LABlab(18.22, 34.68, -16.60)
CIE-LCHlch(18.22, 38.45, 334.42°)
OKLaboklab(30.97% 0.1016 -0.0452)
OKLCHoklch(30.97% 0.111 336)
XYZxyz(4.5988, 2.5682, 5.8826)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501245 #12501D
analogous
#3C1250 #501245 #501226
triadic
#501245 #455012 #124550
tetradic
#501245 #503C12 #12501D #122650
square
#501245 #503C12 #12501D #122650
split-complementary
#501245 #265012 #12503C
monochromatic
#190616 #1E071A #501245 #821D70 #B4289B

Accessibility & contrast

On white

13.87
#501245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501245
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501245#FFFFFF#000000##FFFFFF
##5012451.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132746
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#541629
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501245;
/* rgb */ color: rgb(80, 18, 69);
/* oklch */ color: oklch(31.0% 0.111 336.0);
Tailwind
colors: {
  custom: {
    50: '#845779',
    500: '#501245',
    950: '#000000',
  },
}
SCSS
$custom: #501245;
$custom-light: #845779;
$custom-dark: #000000;
JSON
{
  "hex": "#501245",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 310.645,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3097,
    "c": 0.11119,
    "h": 336
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#501245
secondary
#358944
accent
#E65F41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501245

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

Preview Lab → · Contrast checker → · Palette generator →

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