#5F152E#5F152E

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

Color values

HEX#5F152E
RGBrgb(95, 21, 46)
HSLhsl(340, 64%, 23%)
HSVhsv(340, 78%, 37%)
CMYKcmyk(0%, 77.9%, 51.6%, 62.7%)
CIE-LABlab(20.70, 34.98, 3.50)
CIE-LCHlch(20.70, 35.15, 5.72°)
OKLaboklab(33.03% 0.1069 0.0093)
OKLCHoklch(33.03% 0.107 5)
XYZxyz(5.4811, 3.1672, 2.9069)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F152E #155F46
analogous
#5F1553 #5F152E #5F2115
triadic
#5F152E #2E5F15 #152E5F
tetradic
#5F152E #535F15 #155F46 #21155F
square
#5F152E #535F15 #155F46 #21155F
split-complementary
#5F152E #155F21 #15535F
monochromatic
#19060C #2D0A16 #5F152E #912046 #C32B5F

Accessibility & contrast

On white

12.86
#5F152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F152E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F152E#FFFFFF#000000##FFFFFF
##5F152E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26292F
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#68071F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f152e;
/* rgb */ color: rgb(95, 21, 46);
/* oklch */ color: oklch(33.0% 0.107 5.0);
Tailwind
colors: {
  custom: {
    50: '#915966',
    500: '#5f152e',
    950: '#000000',
  },
}
SCSS
$custom: #5f152e;
$custom-light: #915966;
$custom-dark: #000000;
JSON
{
  "hex": "#5f152e",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 339.73,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.1073,
    "h": 5
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#5F152E
secondary
#3A9677
accent
#E7AF41
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F152E

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

Preview Lab → · Contrast checker → · Palette generator →

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