#5F152D#5F152D

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

Color values

HEX#5F152D
RGBrgb(95, 21, 45)
HSLhsl(341, 64%, 23%)
HSVhsv(341, 78%, 37%)
CMYKcmyk(0%, 77.9%, 52.6%, 62.7%)
CIE-LABlab(20.67, 34.88, 4.16)
CIE-LCHlch(20.67, 35.13, 6.81°)
OKLaboklab(33% 0.1065 0.0109)
OKLCHoklch(33% 0.107 5.9)
XYZxyz(5.4616, 3.1594, 2.8043)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F152D #155F47
analogous
#5F1552 #5F152D #5F2215
triadic
#5F152D #2D5F15 #152D5F
tetradic
#5F152D #525F15 #155F47 #22155F
square
#5F152D #525F15 #155F47 #22155F
split-complementary
#5F152D #155F22 #15525F
monochromatic
#19060C #2D0A15 #5F152D #912045 #C32B5C

Accessibility & contrast

On white

12.87
#5F152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F152D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F152D#FFFFFF#000000##FFFFFF
##5F152D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282E
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#68061F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f152d;
/* rgb */ color: rgb(95, 21, 45);
/* oklch */ color: oklch(33.0% 0.107 5.9);
Tailwind
colors: {
  custom: {
    50: '#915965',
    500: '#5f152d',
    950: '#000000',
  },
}
SCSS
$custom: #5f152d;
$custom-light: #915965;
$custom-dark: #000000;
JSON
{
  "hex": "#5f152d",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 340.541,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32999,
    "c": 0.10705,
    "h": 5.9
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#5F152D
secondary
#3A9678
accent
#E7B141
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F152D

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

Preview Lab → · Contrast checker → · Palette generator →

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