#50172A#50172A

#50172A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.087 H 3.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#50172A
RGBrgb(80, 23, 42)
HSLhsl(340, 55%, 20%)
HSVhsv(340, 71%, 31%)
CMYKcmyk(0%, 71.2%, 47.5%, 68.6%)
CIE-LABlab(17.85, 28.47, 1.85)
CIE-LCHlch(17.85, 28.53, 3.72°)
OKLaboklab(30.31% 0.087 0.0051)
OKLCHoklch(30.31% 0.087 3.4)
XYZxyz(4.0329, 2.4859, 2.4575)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50172A #17503D
analogous
#501746 #50172A #502017
triadic
#50172A #2A5017 #172A50
tetradic
#50172A #465017 #17503D #201750
square
#50172A #465017 #17503D #201750
split-complementary
#50172A #175020 #174650
monochromatic
#18070C #200911 #50172A #802543 #AF325C

Accessibility & contrast

On white

14.03
#50172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50172A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50172A#FFFFFF#000000##FFFFFF
##50172A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#57101E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50172a;
/* rgb */ color: rgb(80, 23, 42);
/* oklch */ color: oklch(30.3% 0.087 3.4);
Tailwind
colors: {
  custom: {
    50: '#845863',
    500: '#50172a',
    950: '#000000',
  },
}
SCSS
$custom: #50172a;
$custom-light: #845863;
$custom-dark: #000000;
JSON
{
  "hex": "#50172a",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 340,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30314,
    "c": 0.0871,
    "h": 3.4
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#50172A
secondary
#3C876E
accent
#DFAD49
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #50172A

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

Preview Lab → · Contrast checker → · Palette generator →

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