#5F1044#5F1044

#5F1044 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.124 H 345.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#5F1044
RGBrgb(95, 16, 68)
HSLhsl(321, 71%, 22%)
HSVhsv(321, 83%, 37%)
CMYKcmyk(0%, 83.2%, 28.4%, 62.7%)
CIE-LABlab(20.91, 39.42, -11.51)
CIE-LCHlch(20.91, 41.06, 343.72°)
OKLaboklab(33.46% 0.1197 -0.0306)
OKLCHoklch(33.46% 0.124 345.7)
XYZxyz(5.9483, 3.2215, 5.7763)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1044 #105F2B
analogous
#53105F #5F1044 #5F101D
triadic
#5F1044 #445F10 #10445F
tetradic
#5F1044 #5F5310 #105F2B #101D5F
square
#5F1044 #5F5310 #105F2B #101D5F
split-complementary
#5F1044 #1D5F10 #105F53
monochromatic
#1A0413 #2B071F #5F1044 #931969 #C8228F

Accessibility & contrast

On white

12.77
#5F1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1044
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1044#FFFFFF#000000##FFFFFF
##5F10441.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1044;
/* rgb */ color: rgb(95, 16, 68);
/* oklch */ color: oklch(33.5% 0.124 345.7);
Tailwind
colors: {
  custom: {
    50: '#905878',
    500: '#5f1044',
    950: '#000000',
  },
}
SCSS
$custom: #5f1044;
$custom-light: #905878;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1044",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 320.506,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3346,
    "c": 0.12357,
    "h": 345.7
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#5F1044
secondary
#339855
accent
#EE773A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1044

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

Preview Lab → · Contrast checker → · Palette generator →

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