#501230#501230

#501230 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 355.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#501230
RGBrgb(80, 18, 48)
HSLhsl(331, 63%, 19%)
HSVhsv(331, 78%, 31%)
CMYKcmyk(0%, 77.5%, 40%, 68.6%)
CIE-LABlab(17.24, 31.50, -3.34)
CIE-LCHlch(17.24, 31.68, 353.94°)
OKLaboklab(29.93% 0.0965 -0.0084)
OKLCHoklch(29.93% 0.097 355)
XYZxyz(4.0583, 2.3520, 3.0360)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501230 #125032
analogous
#50124F #501230 #501312
triadic
#501230 #305012 #123050
tetradic
#501230 #4F5012 #125032 #131250
square
#501230 #4F5012 #125032 #131250
split-complementary
#501230 #125013 #124F50
monochromatic
#19060F #1E0712 #501230 #821D4E #B4286C

Accessibility & contrast

On white

14.28
#501230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#501230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501230
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501230#FFFFFF#000000##FFFFFF
##5012301.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2331
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#570C1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501230;
/* rgb */ color: rgb(80, 18, 48);
/* oklch */ color: oklch(29.9% 0.097 355.0);
Tailwind
colors: {
  custom: {
    50: '#845668',
    500: '#501230',
    950: '#000000',
  },
}
SCSS
$custom: #501230;
$custom-light: #845668;
$custom-dark: #000000;
JSON
{
  "hex": "#501230",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 330.968,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29926,
    "c": 0.09691,
    "h": 355
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#501230
secondary
#358960
accent
#E69741
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #501230

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

Preview Lab → · Contrast checker → · Palette generator →

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