#5F163C#5F163C

#5F163C is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.112 H 352.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5F163C
RGBrgb(95, 22, 60)
HSLhsl(329, 62%, 23%)
HSVhsv(329, 77%, 37%)
CMYKcmyk(0%, 76.8%, 36.8%, 62.7%)
CIE-LABlab(21.33, 36.18, -5.34)
CIE-LCHlch(21.33, 36.57, 351.60°)
OKLaboklab(33.66% 0.1108 -0.0137)
OKLCHoklch(33.66% 0.112 352.9)
XYZxyz(5.8222, 3.3336, 4.6109)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F163C #165F39
analogous
#5D165F #5F163C #5F1618
triadic
#5F163C #3C5F16 #163C5F
tetradic
#5F163C #5F5D16 #165F39 #16185F
square
#5F163C #5F5D16 #165F39 #16185F
split-complementary
#5F163C #185F16 #165F5D
monochromatic
#190610 #2D0A1D #5F163C #91225B #C22D7B

Accessibility & contrast

On white

12.60
#5F163C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F163C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F163C#FFFFFF#000000##FFFFFF
##5F163C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#37383A
Tritanopia (blue-blind)
#671026
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f163c;
/* rgb */ color: rgb(95, 22, 60);
/* oklch */ color: oklch(33.7% 0.112 352.9);
Tailwind
colors: {
  custom: {
    50: '#905a71',
    500: '#5f163c',
    950: '#000000',
  },
}
SCSS
$custom: #5f163c;
$custom-light: #905a71;
$custom-dark: #000000;
JSON
{
  "hex": "#5f163c",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 60
  },
  "hsl": {
    "h": 328.767,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.11163,
    "h": 352.9
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#5F163C
secondary
#3B9667
accent
#E59142
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F163C

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

Preview Lab → · Contrast checker → · Palette generator →

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