#50172F#50172F

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

Color values

HEX#50172F
RGBrgb(80, 23, 47)
HSLhsl(335, 55%, 20%)
HSVhsv(335, 71%, 31%)
CMYKcmyk(0%, 71.2%, 41.3%, 68.6%)
CIE-LABlab(18.03, 29.09, -1.46)
CIE-LCHlch(18.03, 29.12, 357.13°)
OKLaboklab(30.5% 0.089 -0.0035)
OKLCHoklch(30.5% 0.089 357.8)
XYZxyz(4.1280, 2.5240, 2.9586)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50172F #175038
analogous
#50174B #50172F #501B17
triadic
#50172F #2F5017 #172F50
tetradic
#50172F #4B5017 #175038 #1B1750
square
#50172F #4B5017 #175038 #1B1750
split-complementary
#50172F #17501B #174B50
monochromatic
#18070E #200913 #50172F #80254B #AF3267

Accessibility & contrast

On white

13.96
#50172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50172F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50172F#FFFFFF#000000##FFFFFF
##50172F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#571221
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50172f;
/* rgb */ color: rgb(80, 23, 47);
/* oklch */ color: oklch(30.5% 0.089 357.8);
Tailwind
colors: {
  custom: {
    50: '#845867',
    500: '#50172f',
    950: '#000000',
  },
}
SCSS
$custom: #50172f;
$custom-light: #845867;
$custom-dark: #000000;
JSON
{
  "hex": "#50172f",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 334.737,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.08903,
    "h": 357.8
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#50172F
secondary
#3C8767
accent
#DFA049
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #50172F

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

Preview Lab → · Contrast checker → · Palette generator →

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