#5F1432#5F1432

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

Color values

HEX#5F1432
RGBrgb(95, 20, 50)
HSLhsl(336, 65%, 23%)
HSVhsv(336, 79%, 37%)
CMYKcmyk(0%, 78.9%, 47.4%, 62.7%)
CIE-LABlab(20.69, 35.78, 0.68)
CIE-LCHlch(20.69, 35.79, 1.09°)
OKLaboklab(33.06% 0.1097 0.0022)
OKLCHoklch(33.06% 0.11 1.1)
XYZxyz(5.5456, 3.1642, 3.3357)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1432 #145F41
analogous
#5F1457 #5F1432 #5F1C14
triadic
#5F1432 #325F14 #14325F
tetradic
#5F1432 #575F14 #145F41 #1C145F
square
#5F1432 #575F14 #145F41 #1C145F
split-complementary
#5F1432 #145F1C #14575F
monochromatic
#19050D #2C0917 #5F1432 #921F4D #C42967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1432#FFFFFF#000000##FFFFFF
##5F14321.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)
#252933
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#680721
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1432;
/* rgb */ color: rgb(95, 20, 50);
/* oklch */ color: oklch(33.1% 0.110 1.1);
Tailwind
colors: {
  custom: {
    50: '#915969',
    500: '#5f1432',
    950: '#000000',
  },
}
SCSS
$custom: #5f1432;
$custom-light: #915969;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1432",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 50
  },
  "hsl": {
    "h": 336,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.10976,
    "h": 1.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5F1432
secondary
#389771
accent
#E8A540
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1432

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

Preview Lab → · Contrast checker → · Palette generator →

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