#5F1046#5F1046

#5F1046 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.6% C 0.125 H 344.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5F1046
RGBrgb(95, 16, 70)
HSLhsl(319, 71%, 22%)
HSVhsv(319, 83%, 37%)
CMYKcmyk(0%, 83.2%, 26.3%, 62.7%)
CIE-LABlab(21.00, 39.70, -12.74)
CIE-LCHlch(21.00, 41.69, 342.21°)
OKLaboklab(33.56% 0.1202 -0.034)
OKLCHoklch(33.56% 0.125 344.2)
XYZxyz(6.0103, 3.2463, 6.1032)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1046 #105F29
analogous
#51105F #5F1046 #5F101F
triadic
#5F1046 #465F10 #10465F
tetradic
#5F1046 #5F5110 #105F29 #101F5F
square
#5F1046 #5F5110 #105F29 #101F5F
split-complementary
#5F1046 #1F5F10 #105F51
monochromatic
#1A0413 #2B071F #5F1046 #93196D #C82293

Accessibility & contrast

On white

12.73
#5F1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1046
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1046#FFFFFF#000000##FFFFFF
##5F10461.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#333744
Tritanopia (blue-blind)
#660F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1046;
/* rgb */ color: rgb(95, 16, 70);
/* oklch */ color: oklch(33.6% 0.125 344.2);
Tailwind
colors: {
  custom: {
    50: '#905879',
    500: '#5f1046',
    950: '#000000',
  },
}
SCSS
$custom: #5f1046;
$custom-light: #905879;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1046",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 318.987,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33559,
    "c": 0.12487,
    "h": 344.2
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5F1046
secondary
#339853
accent
#EE733A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1046

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

Preview Lab → · Contrast checker → · Palette generator →

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