#5F173C#5F173C

#5F173C is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.110 H 353.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5F173C
RGBrgb(95, 23, 60)
HSLhsl(329, 61%, 23%)
HSVhsv(329, 76%, 37%)
CMYKcmyk(0%, 75.8%, 36.8%, 62.7%)
CIE-LABlab(21.48, 35.78, -5.13)
CIE-LCHlch(21.48, 36.14, 351.84°)
OKLaboklab(33.76% 0.1095 -0.0131)
OKLCHoklch(33.76% 0.11 353.2)
XYZxyz(5.8417, 3.3726, 4.6174)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F173C #175F3A
analogous
#5E175F #5F173C #5F1718
triadic
#5F173C #3C5F17 #173C5F
tetradic
#5F173C #5F5E17 #175F3A #17185F
square
#5F173C #5F5E17 #175F3A #17185F
split-complementary
#5F173C #185F17 #175F5E
monochromatic
#190610 #2E0B1D #5F173C #90235B #C22F7A

Accessibility & contrast

On white

12.54
#5F173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F173C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F173C#FFFFFF#000000##FFFFFF
##5F173C1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#38383A
Tritanopia (blue-blind)
#671127
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f173c;
/* rgb */ color: rgb(95, 23, 60);
/* oklch */ color: oklch(33.8% 0.110 353.2);
Tailwind
colors: {
  custom: {
    50: '#905b71',
    500: '#5f173c',
    950: '#000000',
  },
}
SCSS
$custom: #5f173c;
$custom-light: #905b71;
$custom-dark: #000000;
JSON
{
  "hex": "#5f173c",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 329.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.11029,
    "h": 353.2
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#5F173C
secondary
#3C9668
accent
#E49244
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F173C

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

Preview Lab → · Contrast checker → · Palette generator →

#5F173C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva