#5F162C#5F162C

#5F162C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.106 H 7.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5F162C
RGBrgb(95, 22, 44)
HSLhsl(342, 62%, 23%)
HSVhsv(342, 77%, 37%)
CMYKcmyk(0%, 76.8%, 53.7%, 62.7%)
CIE-LABlab(20.79, 34.38, 5.03)
CIE-LCHlch(20.79, 34.74, 8.32°)
OKLaboklab(33.07% 0.1048 0.0131)
OKLCHoklch(33.07% 0.106 7.1)
XYZxyz(5.4613, 3.1893, 2.7104)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162C #165F49
analogous
#5F1650 #5F162C #5F2516
triadic
#5F162C #2C5F16 #162C5F
tetradic
#5F162C #505F16 #165F49 #25165F
square
#5F162C #505F16 #165F49 #25165F
split-complementary
#5F162C #165F25 #16505F
monochromatic
#19060C #2D0A15 #5F162C #912243 #C22D5A

Accessibility & contrast

On white

12.82
#5F162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F162C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162C#FFFFFF#000000##FFFFFF
##5F162C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292C
Deuteranopia (green-blind)
#3B372A
Tritanopia (blue-blind)
#68071F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f162c;
/* rgb */ color: rgb(95, 22, 44);
/* oklch */ color: oklch(33.1% 0.106 7.1);
Tailwind
colors: {
  custom: {
    50: '#915a64',
    500: '#5f162c',
    950: '#000000',
  },
}
SCSS
$custom: #5f162c;
$custom-light: #915a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162c",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 341.918,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.10558,
    "h": 7.1
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#5F162C
secondary
#3B967B
accent
#E5B442
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F162C

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

Preview Lab → · Contrast checker → · Palette generator →

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