#5F163E#5F163E

#5F163E is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.113 H 351.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5F163E
RGBrgb(95, 22, 62)
HSLhsl(327, 62%, 23%)
HSVhsv(327, 77%, 37%)
CMYKcmyk(0%, 76.8%, 34.7%, 62.7%)
CIE-LABlab(21.41, 36.44, -6.61)
CIE-LCHlch(21.41, 37.03, 349.72°)
OKLaboklab(33.74% 0.1114 -0.0171)
OKLCHoklch(33.74% 0.113 351.3)
XYZxyz(5.8761, 3.3552, 4.8947)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F163E #165F37
analogous
#5B165F #5F163E #5F161A
triadic
#5F163E #3E5F16 #163E5F
tetradic
#5F163E #5F5B16 #165F37 #161A5F
square
#5F163E #5F5B16 #165F37 #161A5F
split-complementary
#5F163E #1A5F16 #165F5B
monochromatic
#190610 #2D0A1E #5F163E #91225E #C22D7F

Accessibility & contrast

On white

12.57
#5F163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F163E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F163E#FFFFFF#000000##FFFFFF
##5F163E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#37383C
Tritanopia (blue-blind)
#671127
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f163e;
/* rgb */ color: rgb(95, 22, 62);
/* oklch */ color: oklch(33.7% 0.113 351.3);
Tailwind
colors: {
  custom: {
    50: '#905a73',
    500: '#5f163e',
    950: '#000000',
  },
}
SCSS
$custom: #5f163e;
$custom-light: #905a73;
$custom-dark: #000000;
JSON
{
  "hex": "#5f163e",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 327.123,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33741,
    "c": 0.11271,
    "h": 351.3
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#5F163E
secondary
#3B9664
accent
#E58C42
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F163E

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

Preview Lab → · Contrast checker → · Palette generator →

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