#5F1041#5F1041

#5F1041 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.122 H 347.9°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5F1041
RGBrgb(95, 16, 65)
HSLhsl(323, 71%, 22%)
HSVhsv(323, 83%, 37%)
CMYKcmyk(0%, 83.2%, 31.6%, 62.7%)
CIE-LABlab(20.77, 39.01, -9.65)
CIE-LCHlch(20.77, 40.19, 346.10°)
OKLaboklab(33.32% 0.119 -0.0254)
OKLCHoklch(33.32% 0.122 347.9)
XYZxyz(5.8590, 3.1858, 5.3064)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1041 #105F2E
analogous
#56105F #5F1041 #5F101A
triadic
#5F1041 #415F10 #10415F
tetradic
#5F1041 #5F5610 #105F2E #101A5F
square
#5F1041 #5F5610 #105F2E #101A5F
split-complementary
#5F1041 #1A5F10 #105F56
monochromatic
#1A0412 #2B071D #5F1041 #931965 #C82289

Accessibility & contrast

On white

12.83
#5F1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1041
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1041#FFFFFF#000000##FFFFFF
##5F10411.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1041;
/* rgb */ color: rgb(95, 16, 65);
/* oklch */ color: oklch(33.3% 0.122 347.9);
Tailwind
colors: {
  custom: {
    50: '#905875',
    500: '#5f1041',
    950: '#000000',
  },
}
SCSS
$custom: #5f1041;
$custom-light: #905875;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1041",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 322.785,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.12171,
    "h": 347.9
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#5F1041
secondary
#339859
accent
#EE7E3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1041

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

Preview Lab → · Contrast checker → · Palette generator →

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