#5F152B#5F152B

#5F152B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.107 H 7.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5F152B
RGBrgb(95, 21, 43)
HSLhsl(342, 64%, 23%)
HSVhsv(342, 78%, 37%)
CMYKcmyk(0%, 77.9%, 54.7%, 62.7%)
CIE-LABlab(20.61, 34.68, 5.49)
CIE-LCHlch(20.61, 35.12, 8.99°)
OKLaboklab(32.94% 0.1056 0.0142)
OKLCHoklch(32.94% 0.107 7.6)
XYZxyz(5.4240, 3.1444, 2.6063)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F152B #155F49
analogous
#5F1550 #5F152B #5F2415
triadic
#5F152B #2B5F15 #152B5F
tetradic
#5F152B #505F15 #155F49 #24155F
square
#5F152B #505F15 #155F49 #24155F
split-complementary
#5F152B #155F24 #15505F
monochromatic
#19060B #2D0A14 #5F152B #912042 #C32B58

Accessibility & contrast

On white

12.89
#5F152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F152B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F152B#FFFFFF#000000##FFFFFF
##5F152B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#68051E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f152b;
/* rgb */ color: rgb(95, 21, 43);
/* oklch */ color: oklch(32.9% 0.107 7.6);
Tailwind
colors: {
  custom: {
    50: '#915964',
    500: '#5f152b',
    950: '#000000',
  },
}
SCSS
$custom: #5f152b;
$custom-light: #915964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f152b",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 342.162,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32937,
    "c": 0.10659,
    "h": 7.6
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#5F152B
secondary
#3A967B
accent
#E7B641
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F152B

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

Preview Lab → · Contrast checker → · Palette generator →

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