#5F163D#5F163D

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

Color values

HEX#5F163D
RGBrgb(95, 22, 61)
HSLhsl(328, 62%, 23%)
HSVhsv(328, 77%, 37%)
CMYKcmyk(0%, 76.8%, 35.8%, 62.7%)
CIE-LABlab(21.37, 36.31, -5.98)
CIE-LCHlch(21.37, 36.80, 350.65°)
OKLaboklab(33.7% 0.1111 -0.0154)
OKLCHoklch(33.7% 0.112 352.1)
XYZxyz(5.8489, 3.3443, 4.7515)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F163D #165F38
analogous
#5C165F #5F163D #5F1619
triadic
#5F163D #3D5F16 #163D5F
tetradic
#5F163D #5F5C16 #165F38 #16195F
square
#5F163D #5F5C16 #165F38 #16195F
split-complementary
#5F163D #195F16 #165F5C
monochromatic
#190610 #2D0A1D #5F163D #91225D #C22D7D

Accessibility & contrast

On white

12.58
#5F163D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F163D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F163D#FFFFFF#000000##FFFFFF
##5F163D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3E
Deuteranopia (green-blind)
#37383B
Tritanopia (blue-blind)
#671027
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f163d;
/* rgb */ color: rgb(95, 22, 61);
/* oklch */ color: oklch(33.7% 0.112 352.1);
Tailwind
colors: {
  custom: {
    50: '#905a72',
    500: '#5f163d',
    950: '#000000',
  },
}
SCSS
$custom: #5f163d;
$custom-light: #905a72;
$custom-dark: #000000;
JSON
{
  "hex": "#5f163d",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 61
  },
  "hsl": {
    "h": 327.945,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33698,
    "c": 0.11216,
    "h": 352.1
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#5F163D
secondary
#3B9665
accent
#E58E42
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F163D

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

Preview Lab → · Contrast checker → · Palette generator →

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