#5F152F#5F152F

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

Color values

HEX#5F152F
RGBrgb(95, 21, 47)
HSLhsl(339, 64%, 23%)
HSVhsv(339, 78%, 37%)
CMYKcmyk(0%, 77.9%, 50.5%, 62.7%)
CIE-LABlab(20.73, 35.08, 2.84)
CIE-LCHlch(20.73, 35.19, 4.64°)
OKLaboklab(33.06% 0.1073 0.0077)
OKLCHoklch(33.06% 0.108 4.1)
XYZxyz(5.5010, 3.1752, 3.0120)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F152F #155F45
analogous
#5F1554 #5F152F #5F2015
triadic
#5F152F #2F5F15 #152F5F
tetradic
#5F152F #545F15 #155F45 #20155F
square
#5F152F #545F15 #155F45 #20155F
split-complementary
#5F152F #155F20 #15545F
monochromatic
#19060C #2D0A16 #5F152F #912048 #C32B61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F152F#FFFFFF#000000##FFFFFF
##5F152F1.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)
#262930
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#680720
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f152f;
/* rgb */ color: rgb(95, 21, 47);
/* oklch */ color: oklch(33.1% 0.108 4.1);
Tailwind
colors: {
  custom: {
    50: '#915a67',
    500: '#5f152f',
    950: '#000000',
  },
}
SCSS
$custom: #5f152f;
$custom-light: #915a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f152f",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 338.919,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.10758,
    "h": 4.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5F152F
secondary
#3A9676
accent
#E7AD41
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F152F

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

Preview Lab → · Contrast checker → · Palette generator →

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