#501138#501138

#501138 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.103 H 347.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#501138
RGBrgb(80, 17, 56)
HSLhsl(323, 65%, 19%)
HSVhsv(323, 79%, 31%)
CMYKcmyk(0%, 78.8%, 30%, 68.6%)
CIE-LABlab(17.42, 33.01, -8.75)
CIE-LCHlch(17.42, 34.15, 345.16°)
OKLaboklab(30.18% 0.1003 -0.0231)
OKLCHoklch(30.18% 0.103 347)
XYZxyz(4.2227, 2.3924, 3.9800)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501138 #115029
analogous
#491150 #501138 #501119
triadic
#501138 #385011 #113850
tetradic
#501138 #504911 #115029 #111950
square
#501138 #504911 #115029 #111950
split-complementary
#501138 #195011 #115049
monochromatic
#190512 #1E0615 #501138 #821C5B #B5267F

Accessibility & contrast

On white

14.20
#501138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#501138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501138
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501138#FFFFFF#000000##FFFFFF
##5011381.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192439
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#560F22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501138;
/* rgb */ color: rgb(80, 17, 56);
/* oklch */ color: oklch(30.2% 0.103 347.0);
Tailwind
colors: {
  custom: {
    50: '#84566e',
    500: '#501138',
    950: '#000000',
  },
}
SCSS
$custom: #501138;
$custom-light: #84566e;
$custom-dark: #000000;
JSON
{
  "hex": "#501138",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 322.857,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.10292,
    "h": 347
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#501138
secondary
#338954
accent
#E88040
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501138

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

Preview Lab → · Contrast checker → · Palette generator →

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