#50173E#50173E

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

Color values

HEX#50173E
RGBrgb(80, 23, 62)
HSLhsl(319, 55%, 20%)
HSVhsv(319, 71%, 31%)
CMYKcmyk(0%, 71.2%, 22.5%, 68.6%)
CIE-LABlab(18.66, 31.29, -11.07)
CIE-LCHlch(18.66, 33.20, 340.52°)
OKLaboklab(31.17% 0.0937 -0.0296)
OKLCHoklch(31.17% 0.098 342.4)
XYZxyz(4.4843, 2.6665, 4.8350)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50173E #175029
analogous
#451750 #50173E #501722
triadic
#50173E #3E5017 #173E50
tetradic
#50173E #504517 #175029 #172250
square
#50173E #504517 #175029 #172250
split-complementary
#50173E #225017 #175045
monochromatic
#180712 #200919 #50173E #802563 #AF3288

Accessibility & contrast

On white

13.70
#50173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50173E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50173E#FFFFFF#000000##FFFFFF
##50173E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273F
Deuteranopia (green-blind)
#2D313D
Tritanopia (blue-blind)
#551728
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50173e;
/* rgb */ color: rgb(80, 23, 62);
/* oklch */ color: oklch(31.2% 0.098 342.4);
Tailwind
colors: {
  custom: {
    50: '#835973',
    500: '#50173e',
    950: '#000000',
  },
}
SCSS
$custom: #50173e;
$custom-light: #835973;
$custom-dark: #000000;
JSON
{
  "hex": "#50173e",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 318.947,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31167,
    "c": 0.09824,
    "h": 342.4
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#50173E
secondary
#3C8753
accent
#DF7849
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #50173E

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

Preview Lab → · Contrast checker → · Palette generator →

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