#5F104F#5F104F

#5F104F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.131 H 337.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5F104F
RGBrgb(95, 16, 79)
HSLhsl(312, 71%, 22%)
HSVhsv(312, 83%, 37%)
CMYKcmyk(0%, 83.2%, 16.8%, 62.7%)
CIE-LABlab(21.46, 41.04, -18.16)
CIE-LCHlch(21.46, 44.88, 336.13°)
OKLaboklab(34.04% 0.1215 -0.0493)
OKLCHoklch(34.04% 0.131 337.9)
XYZxyz(6.3160, 3.3686, 7.7132)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104F #105F20
analogous
#48105F #5F104F #5F1028
triadic
#5F104F #4F5F10 #104F5F
tetradic
#5F104F #5F4810 #105F20 #10285F
square
#5F104F #5F4810 #105F20 #10285F
split-complementary
#5F104F #285F10 #105F48
monochromatic
#1A0416 #2B0723 #5F104F #93197B #C822A6

Accessibility & contrast

On white

12.55
#5F104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F104F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104F#FFFFFF#000000##FFFFFF
##5F104F1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#65152F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104f;
/* rgb */ color: rgb(95, 16, 79);
/* oklch */ color: oklch(34.0% 0.131 337.9);
Tailwind
colors: {
  custom: {
    50: '#905980',
    500: '#5f104f',
    950: '#000000',
  },
}
SCSS
$custom: #5f104f;
$custom-light: #905980;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104f",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 312.152,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3404,
    "c": 0.13117,
    "h": 337.9
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#5F104F
secondary
#339847
accent
#EE5E3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F104F

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

Preview Lab → · Contrast checker → · Palette generator →

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