#50173F#50173F

#50173F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.099 H 341.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#50173F
RGBrgb(80, 23, 63)
HSLhsl(318, 55%, 20%)
HSVhsv(318, 71%, 31%)
CMYKcmyk(0%, 71.2%, 21.2%, 68.6%)
CIE-LABlab(18.70, 31.46, -11.69)
CIE-LCHlch(18.70, 33.56, 339.61°)
OKLaboklab(31.22% 0.0939 -0.0314)
OKLCHoklch(31.22% 0.099 341.5)
XYZxyz(4.5120, 2.6776, 4.9809)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50173F #175028
analogous
#451750 #50173F #501722
triadic
#50173F #3F5017 #173F50
tetradic
#50173F #504517 #175028 #172250
square
#50173F #504517 #175028 #172250
split-complementary
#50173F #225017 #175045
monochromatic
#180713 #20091A #50173F #802564 #AF328A

Accessibility & contrast

On white

13.68
#50173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#50173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50173F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50173F#FFFFFF#000000##FFFFFF
##50173F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#551828
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50173f;
/* rgb */ color: rgb(80, 23, 63);
/* oklch */ color: oklch(31.2% 0.099 341.5);
Tailwind
colors: {
  custom: {
    50: '#835974',
    500: '#50173f',
    950: '#000000',
  },
}
SCSS
$custom: #50173f;
$custom-light: #835974;
$custom-dark: #000000;
JSON
{
  "hex": "#50173f",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 317.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31218,
    "c": 0.099,
    "h": 341.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#50173F
secondary
#3C8752
accent
#DF7649
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #50173F

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

Preview Lab → · Contrast checker → · Palette generator →

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