#5F1141#5F1141

#5F1141 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.121 H 348.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5F1141
RGBrgb(95, 17, 65)
HSLhsl(323, 70%, 22%)
HSVhsv(323, 82%, 37%)
CMYKcmyk(0%, 82.1%, 31.6%, 62.7%)
CIE-LABlab(20.89, 38.68, -9.47)
CIE-LCHlch(20.89, 39.82, 346.24°)
OKLaboklab(33.4% 0.118 -0.0249)
OKLCHoklch(33.4% 0.121 348.1)
XYZxyz(5.8742, 3.2161, 5.3114)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1141 #115F2F
analogous
#56115F #5F1141 #5F111A
triadic
#5F1141 #415F11 #11415F
tetradic
#5F1141 #5F5611 #115F2F #111A5F
square
#5F1141 #5F5611 #115F2F #111A5F
split-complementary
#5F1141 #1A5F11 #115F56
monochromatic
#1A0512 #2B081D #5F1141 #931A65 #C72488

Accessibility & contrast

On white

12.78
#5F1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1141
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1141#FFFFFF#000000##FFFFFF
##5F11411.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A42
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#660D27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1141;
/* rgb */ color: rgb(95, 17, 65);
/* oklch */ color: oklch(33.4% 0.121 348.1);
Tailwind
colors: {
  custom: {
    50: '#905975',
    500: '#5f1141',
    950: '#000000',
  },
}
SCSS
$custom: #5f1141;
$custom-light: #905975;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1141",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 323.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.334,
    "c": 0.12061,
    "h": 348.1
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#5F1141
secondary
#34985A
accent
#EC7F3B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1141

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

Preview Lab → · Contrast checker → · Palette generator →

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