#5F1D41#5F1D41

#5F1D41 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.7% C 0.104 H 350.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#5F1D41
RGBrgb(95, 29, 65)
HSLhsl(327, 53%, 24%)
HSVhsv(327, 69%, 37%)
CMYKcmyk(0%, 69.5%, 31.6%, 62.7%)
CIE-LABlab(22.63, 33.81, -6.83)
CIE-LCHlch(22.63, 34.49, 348.57°)
OKLaboklab(34.68% 0.1028 -0.0178)
OKLCHoklch(34.68% 0.104 350.2)
XYZxyz(6.1131, 3.6939, 5.3911)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D41 #1D5F3B
analogous
#5C1D5F #5F1D41 #5F1D20
triadic
#5F1D41 #415F1D #1D415F
tetradic
#5F1D41 #5F5C1D #1D5F3B #1D205F
square
#5F1D41 #5F5C1D #1D5F3B #1D205F
split-complementary
#5F1D41 #205F1D #1D5F5C
monochromatic
#170710 #300F21 #5F1D41 #8E2B61 #BD3A81

Accessibility & contrast

On white

12.08
#5F1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5F1D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1D41
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D41#FFFFFF#000000##FFFFFF
##5F1D411.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F42
Deuteranopia (green-blind)
#393A3F
Tritanopia (blue-blind)
#661A2C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1d41;
/* rgb */ color: rgb(95, 29, 65);
/* oklch */ color: oklch(34.7% 0.104 350.2);
Tailwind
colors: {
  custom: {
    50: '#8f5e75',
    500: '#5f1d41',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d41;
$custom-light: #8f5e75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d41",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 327.273,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34677,
    "c": 0.10435,
    "h": 350.2
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#5F1D41
secondary
#449468
accent
#DD8D4B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #5F1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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