#501526#501526

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

Color values

HEX#501526
RGBrgb(80, 21, 38)
HSLhsl(343, 58%, 20%)
HSVhsv(343, 74%, 31%)
CMYKcmyk(0%, 73.7%, 52.5%, 68.6%)
CIE-LABlab(17.38, 28.98, 4.03)
CIE-LCHlch(17.38, 29.26, 7.91°)
OKLaboklab(29.92% 0.0883 0.0106)
OKLCHoklch(29.92% 0.089 6.8)
XYZxyz(3.9266, 2.3822, 2.0864)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501526 #15503F
analogous
#501544 #501526 #502215
triadic
#501526 #265015 #152650
tetradic
#501526 #445015 #15503F #221550
square
#501526 #445015 #15503F #221550
split-complementary
#501526 #155022 #154450
monochromatic
#18060C #20080F #501526 #80223D #B12E54

Accessibility & contrast

On white

14.22
#501526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501526
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501526#FFFFFF#000000##FFFFFF
##5015261.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#322F25
Tritanopia (blue-blind)
#580C1C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501526;
/* rgb */ color: rgb(80, 21, 38);
/* oklch */ color: oklch(29.9% 0.089 6.8);
Tailwind
colors: {
  custom: {
    50: '#855760',
    500: '#501526',
    950: '#000000',
  },
}
SCSS
$custom: #501526;
$custom-light: #855760;
$custom-dark: #000000;
JSON
{
  "hex": "#501526",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 342.712,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.08893,
    "h": 6.8
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#501526
secondary
#398871
accent
#E2B546
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #501526

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

Preview Lab → · Contrast checker → · Palette generator →

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