#501231#501231

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

Color values

HEX#501231
RGBrgb(80, 18, 49)
HSLhsl(330, 63%, 19%)
HSVhsv(330, 78%, 31%)
CMYKcmyk(0%, 77.5%, 38.8%, 68.6%)
CIE-LABlab(17.27, 31.63, -4.00)
CIE-LCHlch(17.27, 31.88, 352.79°)
OKLaboklab(29.97% 0.0969 -0.0102)
OKLCHoklch(29.97% 0.097 354)
XYZxyz(4.0792, 2.3603, 3.1459)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501231 #125031
analogous
#501250 #501231 #501212
triadic
#501231 #315012 #123150
tetradic
#501231 #505012 #125031 #121250
square
#501231 #505012 #125031 #121250
split-complementary
#501231 #125012 #125050
monochromatic
#19060F #1E0712 #501231 #821D50 #B4286E

Accessibility & contrast

On white

14.27
#501231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501231
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501231#FFFFFF#000000##FFFFFF
##5012311.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2332
Deuteranopia (green-blind)
#2E2F30
Tritanopia (blue-blind)
#570D1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501231;
/* rgb */ color: rgb(80, 18, 49);
/* oklch */ color: oklch(30.0% 0.097 354.0);
Tailwind
colors: {
  custom: {
    50: '#845669',
    500: '#501231',
    950: '#000000',
  },
}
SCSS
$custom: #501231;
$custom-light: #845669;
$custom-dark: #000000;
JSON
{
  "hex": "#501231",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 330,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29968,
    "c": 0.09741,
    "h": 354
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#501231
secondary
#35895F
accent
#E69441
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #501231

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

Preview Lab → · Contrast checker → · Palette generator →

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