#5F1142#5F1142

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

Color values

HEX#5F1142
RGBrgb(95, 17, 66)
HSLhsl(322, 70%, 22%)
HSVhsv(322, 82%, 37%)
CMYKcmyk(0%, 82.1%, 30.5%, 62.7%)
CIE-LABlab(20.93, 38.81, -10.10)
CIE-LCHlch(20.93, 40.11, 345.42°)
OKLaboklab(33.45% 0.1182 -0.0267)
OKLCHoklch(33.45% 0.121 347.3)
XYZxyz(5.9034, 3.2278, 5.4653)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1142 #115F2E
analogous
#55115F #5F1142 #5F111B
triadic
#5F1142 #425F11 #11425F
tetradic
#5F1142 #5F5511 #115F2E #111B5F
square
#5F1142 #5F5511 #115F2E #111B5F
split-complementary
#5F1142 #1B5F11 #115F55
monochromatic
#1A0512 #2B081E #5F1142 #931A66 #C7248A

Accessibility & contrast

On white

12.76
#5F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1142
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1142#FFFFFF#000000##FFFFFF
##5F11421.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#660E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1142;
/* rgb */ color: rgb(95, 17, 66);
/* oklch */ color: oklch(33.4% 0.121 347.3);
Tailwind
colors: {
  custom: {
    50: '#905976',
    500: '#5f1142',
    950: '#000000',
  },
}
SCSS
$custom: #5f1142;
$custom-light: #905976;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1142",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 322.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.12121,
    "h": 347.3
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#5F1142
secondary
#349859
accent
#EC7D3B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1142

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

Preview Lab → · Contrast checker → · Palette generator →

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