#5F162A#5F162A

#5F162A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 8.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5F162A
RGBrgb(95, 22, 42)
HSLhsl(344, 62%, 23%)
HSVhsv(344, 77%, 37%)
CMYKcmyk(0%, 76.8%, 55.8%, 62.7%)
CIE-LABlab(20.73, 34.19, 6.35)
CIE-LCHlch(20.73, 34.77, 10.53°)
OKLaboklab(33.01% 0.1039 0.0163)
OKLCHoklch(33.01% 0.105 8.9)
XYZxyz(5.4246, 3.1746, 2.5172)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162A #165F4B
analogous
#5F164E #5F162A #5F2716
triadic
#5F162A #2A5F16 #162A5F
tetradic
#5F162A #4E5F16 #165F4B #27165F
square
#5F162A #4E5F16 #165F4B #27165F
split-complementary
#5F162A #165F27 #164E5F
monochromatic
#19060B #2D0A14 #5F162A #912240 #C22D56

Accessibility & contrast

On white

12.85
#5F162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F162A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162A#FFFFFF#000000##FFFFFF
##5F162A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292A
Deuteranopia (green-blind)
#3B3728
Tritanopia (blue-blind)
#68061E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f162a;
/* rgb */ color: rgb(95, 22, 42);
/* oklch */ color: oklch(33.0% 0.105 8.9);
Tailwind
colors: {
  custom: {
    50: '#915a63',
    500: '#5f162a',
    950: '#000000',
  },
}
SCSS
$custom: #5f162a;
$custom-light: #915a63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162a",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 343.562,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.10519,
    "h": 8.9
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5F162A
secondary
#3B967D
accent
#E5B942
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F162A

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

Preview Lab → · Contrast checker → · Palette generator →

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