#5F163A#5F163A

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

Color values

HEX#5F163A
RGBrgb(95, 22, 58)
HSLhsl(330, 62%, 23%)
HSVhsv(330, 77%, 37%)
CMYKcmyk(0%, 76.8%, 38.9%, 62.7%)
CIE-LABlab(21.26, 35.93, -4.07)
CIE-LCHlch(21.26, 36.16, 353.53°)
OKLaboklab(33.57% 0.1101 -0.0103)
OKLCHoklch(33.57% 0.111 354.7)
XYZxyz(5.7703, 3.3129, 4.3377)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F163A #165F3B
analogous
#5F165E #5F163A #5F1616
triadic
#5F163A #3A5F16 #163A5F
tetradic
#5F163A #5E5F16 #165F3B #16165F
square
#5F163A #5E5F16 #165F3B #16165F
split-complementary
#5F163A #165F16 #165E5F
monochromatic
#19060F #2D0A1C #5F163A #912258 #C22D77

Accessibility & contrast

On white

12.63
#5F163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F163A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F163A#FFFFFF#000000##FFFFFF
##5F163A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f163a;
/* rgb */ color: rgb(95, 22, 58);
/* oklch */ color: oklch(33.6% 0.111 354.7);
Tailwind
colors: {
  custom: {
    50: '#905a70',
    500: '#5f163a',
    950: '#000000',
  },
}
SCSS
$custom: #5f163a;
$custom-light: #905a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f163a",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 330.411,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.11061,
    "h": 354.7
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#5F163A
secondary
#3B9669
accent
#E59542
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F163A

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

Preview Lab → · Contrast checker → · Palette generator →

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