#50172E#50172E

#50172E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.089 H 358.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#50172E
RGBrgb(80, 23, 46)
HSLhsl(336, 55%, 20%)
HSVhsv(336, 71%, 31%)
CMYKcmyk(0%, 71.2%, 42.5%, 68.6%)
CIE-LABlab(17.99, 28.96, -0.80)
CIE-LCHlch(17.99, 28.97, 358.41°)
OKLaboklab(30.46% 0.0886 -0.0017)
OKLCHoklch(30.46% 0.089 358.9)
XYZxyz(4.1081, 2.5160, 2.8535)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50172E #175039
analogous
#50174B #50172E #501C17
triadic
#50172E #2E5017 #172E50
tetradic
#50172E #4B5017 #175039 #1C1750
square
#50172E #4B5017 #175039 #1C1750
split-complementary
#50172E #17501C #174B50
monochromatic
#18070E #200913 #50172E #802549 #AF3265

Accessibility & contrast

On white

13.97
#50172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50172E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50172E#FFFFFF#000000##FFFFFF
##50172E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#571120
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50172e;
/* rgb */ color: rgb(80, 23, 46);
/* oklch */ color: oklch(30.5% 0.089 358.9);
Tailwind
colors: {
  custom: {
    50: '#845866',
    500: '#50172e',
    950: '#000000',
  },
}
SCSS
$custom: #50172e;
$custom-light: #845866;
$custom-dark: #000000;
JSON
{
  "hex": "#50172e",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 335.789,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30459,
    "c": 0.08859,
    "h": 358.9
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#50172E
secondary
#3C8769
accent
#DFA249
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #50172E

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

Preview Lab → · Contrast checker → · Palette generator →

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