#50173C#50173C

#50173C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.097 H 344.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#50173C
RGBrgb(80, 23, 60)
HSLhsl(321, 55%, 20%)
HSVhsv(321, 71%, 31%)
CMYKcmyk(0%, 71.2%, 25%, 68.6%)
CIE-LABlab(18.56, 30.97, -9.82)
CIE-LCHlch(18.56, 32.49, 342.41°)
OKLaboklab(31.07% 0.0932 -0.0261)
OKLCHoklch(31.07% 0.097 344.3)
XYZxyz(4.4304, 2.6449, 4.5513)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50173C #17502B
analogous
#481750 #50173C #50171F
triadic
#50173C #3C5017 #173C50
tetradic
#50173C #504817 #17502B #171F50
square
#50173C #504817 #17502B #171F50
split-complementary
#50173C #1F5017 #175048
monochromatic
#180712 #200918 #50173C #802560 #AF3283

Accessibility & contrast

On white

13.73
#50173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50173C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50173C#FFFFFF#000000##FFFFFF
##50173C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#2D313B
Tritanopia (blue-blind)
#561727
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50173c;
/* rgb */ color: rgb(80, 23, 60);
/* oklch */ color: oklch(31.1% 0.097 344.3);
Tailwind
colors: {
  custom: {
    50: '#835971',
    500: '#50173c',
    950: '#000000',
  },
}
SCSS
$custom: #50173c;
$custom-light: #835971;
$custom-dark: #000000;
JSON
{
  "hex": "#50173c",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 321.053,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.09676,
    "h": 344.3
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#50173C
secondary
#3C8756
accent
#DF7E49
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #50173C

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

Preview Lab → · Contrast checker → · Palette generator →

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