#50172C#50172C

#50172C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.088 H 1.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#50172C
RGBrgb(80, 23, 44)
HSLhsl(338, 55%, 20%)
HSVhsv(338, 71%, 31%)
CMYKcmyk(0%, 71.2%, 45%, 68.6%)
CIE-LABlab(17.92, 28.71, 0.52)
CIE-LCHlch(17.92, 28.71, 1.04°)
OKLaboklab(30.39% 0.0878 0.0017)
OKLCHoklch(30.39% 0.088 1.1)
XYZxyz(4.0696, 2.5006, 2.6507)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50172C #17503B
analogous
#501748 #50172C #501F17
triadic
#50172C #2C5017 #172C50
tetradic
#50172C #485017 #17503B #1F1750
square
#50172C #485017 #17503B #1F1750
split-complementary
#50172C #17501F #174850
monochromatic
#18070D #200912 #50172C #802546 #AF3260

Accessibility & contrast

On white

14.00
#50172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50172C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50172C#FFFFFF#000000##FFFFFF
##50172C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50172c;
/* rgb */ color: rgb(80, 23, 44);
/* oklch */ color: oklch(30.4% 0.088 1.1);
Tailwind
colors: {
  custom: {
    50: '#845864',
    500: '#50172c',
    950: '#000000',
  },
}
SCSS
$custom: #50172c;
$custom-light: #845864;
$custom-dark: #000000;
JSON
{
  "hex": "#50172c",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 337.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.08779,
    "h": 1.1
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#50172C
secondary
#3C876B
accent
#DFA849
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #50172C

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

Preview Lab → · Contrast checker → · Palette generator →

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