#5F1039#5F1039

#5F1039 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.117 H 354.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F1039
RGBrgb(95, 16, 57)
HSLhsl(329, 71%, 22%)
HSVhsv(329, 83%, 37%)
CMYKcmyk(0%, 83.2%, 40%, 62.7%)
CIE-LABlab(20.44, 38.00, -4.60)
CIE-LCHlch(20.44, 38.28, 353.10°)
OKLaboklab(32.96% 0.1168 -0.0117)
OKLCHoklch(32.96% 0.117 354.3)
XYZxyz(5.6435, 3.0996, 4.1712)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1039 #105F36
analogous
#5E105F #5F1039 #5F1012
triadic
#5F1039 #395F10 #10395F
tetradic
#5F1039 #5F5E10 #105F36 #10125F
square
#5F1039 #5F5E10 #105F36 #10125F
split-complementary
#5F1039 #125F10 #105F5E
monochromatic
#1A0410 #2B071A #5F1039 #931958 #C82278

Accessibility & contrast

On white

12.96
#5F1039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1039
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1039#FFFFFF#000000##FFFFFF
##5F10391.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#670623
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1039;
/* rgb */ color: rgb(95, 16, 57);
/* oklch */ color: oklch(33.0% 0.117 354.3);
Tailwind
colors: {
  custom: {
    50: '#90586f',
    500: '#5f1039',
    950: '#000000',
  },
}
SCSS
$custom: #5f1039;
$custom-light: #90586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1039",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 328.861,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32962,
    "c": 0.11735,
    "h": 354.3
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#5F1039
secondary
#339863
accent
#EE903A
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1039

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

Preview Lab → · Contrast checker → · Palette generator →

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