#501238#501238

#501238 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.102 H 347.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#501238
RGBrgb(80, 18, 56)
HSLhsl(323, 63%, 19%)
HSVhsv(323, 78%, 31%)
CMYKcmyk(0%, 77.5%, 30%, 68.6%)
CIE-LABlab(17.57, 32.60, -8.52)
CIE-LCHlch(17.57, 33.70, 345.35°)
OKLaboklab(30.28% 0.099 -0.0225)
OKLCHoklch(30.28% 0.102 347.2)
XYZxyz(4.2386, 2.4241, 3.9853)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501238 #12502A
analogous
#491250 #501238 #501219
triadic
#501238 #385012 #123850
tetradic
#501238 #504912 #12502A #121950
square
#501238 #504912 #12502A #121950
split-complementary
#501238 #195012 #125049
monochromatic
#190611 #1E0715 #501238 #821D5B #B4287E

Accessibility & contrast

On white

14.14
#501238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501238
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501238#FFFFFF#000000##FFFFFF
##5012381.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#561023
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501238;
/* rgb */ color: rgb(80, 18, 56);
/* oklch */ color: oklch(30.3% 0.102 347.2);
Tailwind
colors: {
  custom: {
    50: '#84566e',
    500: '#501238',
    950: '#000000',
  },
}
SCSS
$custom: #501238;
$custom-light: #84566e;
$custom-dark: #000000;
JSON
{
  "hex": "#501238",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 323.226,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30283,
    "c": 0.10153,
    "h": 347.2
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#501238
secondary
#358955
accent
#E68141
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #501238

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

Preview Lab → · Contrast checker → · Palette generator →

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