#501340#501340

#501340 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.106 H 340.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#501340
RGBrgb(80, 19, 64)
HSLhsl(316, 62%, 19%)
HSVhsv(316, 76%, 31%)
CMYKcmyk(0%, 76.3%, 20%, 68.6%)
CIE-LABlab(18.11, 33.42, -13.31)
CIE-LCHlch(18.11, 35.98, 338.28°)
OKLaboklab(30.8% 0.0996 -0.0359)
OKLCHoklch(30.8% 0.106 340.2)
XYZxyz(4.4667, 2.5418, 5.1049)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501340 #135023
analogous
#421350 #501340 #501322
triadic
#501340 #405013 #134050
tetradic
#501340 #504213 #135023 #132250
square
#501340 #504213 #135023 #132250
split-complementary
#501340 #225013 #135042
monochromatic
#190614 #1F0718 #501340 #811F68 #B32A8F

Accessibility & contrast

On white

13.92
#501340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501340
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501340#FFFFFF#000000##FFFFFF
##5013401.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#551527
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501340;
/* rgb */ color: rgb(80, 19, 64);
/* oklch */ color: oklch(30.8% 0.106 340.2);
Tailwind
colors: {
  custom: {
    50: '#845775',
    500: '#501340',
    950: '#000000',
  },
}
SCSS
$custom: #501340;
$custom-light: #845775;
$custom-dark: #000000;
JSON
{
  "hex": "#501340",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 315.738,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.10582,
    "h": 340.2
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#501340
secondary
#36894C
accent
#E56D43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501340

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

Preview Lab → · Contrast checker → · Palette generator →

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