#5F1047#5F1047

#5F1047 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.126 H 343.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5F1047
RGBrgb(95, 16, 71)
HSLhsl(318, 71%, 22%)
HSVhsv(318, 83%, 37%)
CMYKcmyk(0%, 83.2%, 25.3%, 62.7%)
CIE-LABlab(21.05, 39.84, -13.35)
CIE-LCHlch(21.05, 42.02, 341.47°)
OKLaboklab(33.61% 0.1203 -0.0357)
OKLCHoklch(33.61% 0.126 343.5)
XYZxyz(6.0422, 3.2591, 6.2709)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1047 #105F28
analogous
#50105F #5F1047 #5F1020
triadic
#5F1047 #475F10 #10475F
tetradic
#5F1047 #5F5010 #105F28 #10205F
square
#5F1047 #5F5010 #105F28 #10205F
split-complementary
#5F1047 #205F10 #105F50
monochromatic
#1A0414 #2B0720 #5F1047 #93196E #C82295

Accessibility & contrast

On white

12.71
#5F1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1047
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1047#FFFFFF#000000##FFFFFF
##5F10471.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#66102A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1047;
/* rgb */ color: rgb(95, 16, 71);
/* oklch */ color: oklch(33.6% 0.126 343.5);
Tailwind
colors: {
  custom: {
    50: '#90587a',
    500: '#5f1047',
    950: '#000000',
  },
}
SCSS
$custom: #5f1047;
$custom-light: #90587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1047",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 318.228,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3361,
    "c": 0.12553,
    "h": 343.5
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#5F1047
secondary
#339852
accent
#EE713A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1047

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

Preview Lab → · Contrast checker → · Palette generator →

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