#50172D#50172D

#50172D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.088 H 360.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#50172D
RGBrgb(80, 23, 45)
HSLhsl(337, 55%, 20%)
HSVhsv(337, 71%, 31%)
CMYKcmyk(0%, 71.2%, 43.7%, 68.6%)
CIE-LABlab(17.96, 28.83, -0.14)
CIE-LCHlch(17.96, 28.83, 359.72°)
OKLaboklab(30.42% 0.0882 0)
OKLCHoklch(30.42% 0.088 0)
XYZxyz(4.0886, 2.5082, 2.7509)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50172D #17503A
analogous
#501749 #50172D #501D17
triadic
#50172D #2D5017 #172D50
tetradic
#50172D #495017 #17503A #1D1750
square
#50172D #495017 #17503A #1D1750
split-complementary
#50172D #17501D #174950
monochromatic
#18070D #200912 #50172D #802548 #AF3262

Accessibility & contrast

On white

13.99
#50172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#50172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50172D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50172D#FFFFFF#000000##FFFFFF
##50172D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#31302C
Tritanopia (blue-blind)
#571120
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50172d;
/* rgb */ color: rgb(80, 23, 45);
/* oklch */ color: oklch(30.4% 0.088 360.0);
Tailwind
colors: {
  custom: {
    50: '#845865',
    500: '#50172d',
    950: '#000000',
  },
}
SCSS
$custom: #50172d;
$custom-light: #845865;
$custom-dark: #000000;
JSON
{
  "hex": "#50172d",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 336.842,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30422,
    "c": 0.08818,
    "h": 360
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#50172D
secondary
#3C876A
accent
#DFA549
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #50172D

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

Preview Lab → · Contrast checker → · Palette generator →

#50172D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva