#5F163B#5F163B

#5F163B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.111 H 353.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5F163B
RGBrgb(95, 22, 59)
HSLhsl(330, 62%, 23%)
HSVhsv(330, 77%, 37%)
CMYKcmyk(0%, 76.8%, 37.9%, 62.7%)
CIE-LABlab(21.29, 36.05, -4.71)
CIE-LCHlch(21.29, 36.36, 352.56°)
OKLaboklab(33.61% 0.1105 -0.012)
OKLCHoklch(33.61% 0.111 353.8)
XYZxyz(5.7960, 3.3232, 4.4730)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F163B #165F3A
analogous
#5E165F #5F163B #5F1616
triadic
#5F163B #3B5F16 #163B5F
tetradic
#5F163B #5F5E16 #165F3A #16165F
square
#5F163B #5F5E16 #165F3A #16165F
split-complementary
#5F163B #165F16 #165F5E
monochromatic
#19060F #2D0A1C #5F163B #91225A #C22D79

Accessibility & contrast

On white

12.62
#5F163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F163B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F163B#FFFFFF#000000##FFFFFF
##5F163B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3C
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#670F26
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f163b;
/* rgb */ color: rgb(95, 22, 59);
/* oklch */ color: oklch(33.6% 0.111 353.8);
Tailwind
colors: {
  custom: {
    50: '#905a70',
    500: '#5f163b',
    950: '#000000',
  },
}
SCSS
$custom: #5f163b;
$custom-light: #905a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f163b",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 329.589,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.11111,
    "h": 353.8
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#5F163B
secondary
#3B9668
accent
#E59342
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F163B

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

Preview Lab → · Contrast checker → · Palette generator →

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