#501728#501728

#501728 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.2% C 0.087 H 5.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#501728
RGBrgb(80, 23, 40)
HSLhsl(342, 55%, 20%)
HSVhsv(342, 71%, 31%)
CMYKcmyk(0%, 71.2%, 50%, 68.6%)
CIE-LABlab(17.79, 28.24, 3.19)
CIE-LCHlch(17.79, 28.41, 6.44°)
OKLaboklab(30.25% 0.0861 0.0085)
OKLCHoklch(30.25% 0.087 5.6)
XYZxyz(3.9980, 2.4720, 2.2737)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501728 #17503F
analogous
#501745 #501728 #502217
triadic
#501728 #285017 #172850
tetradic
#501728 #455017 #17503F #221750
square
#501728 #455017 #17503F #221750
split-complementary
#501728 #175022 #174550
monochromatic
#18070C #200910 #501728 #802540 #AF3258

Accessibility & contrast

On white

14.05
#501728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#501728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501728
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501728#FFFFFF#000000##FFFFFF
##5017281.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#570F1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501728;
/* rgb */ color: rgb(80, 23, 40);
/* oklch */ color: oklch(30.2% 0.087 5.6);
Tailwind
colors: {
  custom: {
    50: '#855861',
    500: '#501728',
    950: '#000000',
  },
}
SCSS
$custom: #501728;
$custom-light: #855861;
$custom-dark: #000000;
JSON
{
  "hex": "#501728",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 342.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30246,
    "c": 0.08651,
    "h": 5.6
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#501728
secondary
#3C8771
accent
#DFB249
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501728

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

Preview Lab → · Contrast checker → · Palette generator →

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