#50173B#50173B

#50173B is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.096 H 345.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#50173B
RGBrgb(80, 23, 59)
HSLhsl(322, 55%, 20%)
HSVhsv(322, 71%, 31%)
CMYKcmyk(0%, 71.2%, 26.2%, 68.6%)
CIE-LABlab(18.52, 30.81, -9.19)
CIE-LCHlch(18.52, 32.15, 343.39°)
OKLaboklab(31.02% 0.0929 -0.0244)
OKLCHoklch(31.02% 0.096 345.3)
XYZxyz(4.4042, 2.6345, 4.4134)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50173B #17502C
analogous
#481750 #50173B #50171F
triadic
#50173B #3B5017 #173B50
tetradic
#50173B #504817 #17502C #171F50
square
#50173B #504817 #17502C #171F50
split-complementary
#50173B #1F5017 #175048
monochromatic
#180712 #200918 #50173B #80255E #AF3281

Accessibility & contrast

On white

13.75
#50173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#50173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50173B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50173B#FFFFFF#000000##FFFFFF
##50173B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#561626
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50173b;
/* rgb */ color: rgb(80, 23, 59);
/* oklch */ color: oklch(31.0% 0.096 345.3);
Tailwind
colors: {
  custom: {
    50: '#845971',
    500: '#50173b',
    950: '#000000',
  },
}
SCSS
$custom: #50173b;
$custom-light: #845971;
$custom-dark: #000000;
JSON
{
  "hex": "#50173b",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 322.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31019,
    "c": 0.09605,
    "h": 345.3
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#50173B
secondary
#3C8757
accent
#DF8049
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #50173B

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

Preview Lab → · Contrast checker → · Palette generator →

#50173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva