#5F104D#5F104D

#5F104D is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.130 H 339.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F104D
RGBrgb(95, 16, 77)
HSLhsl(314, 71%, 22%)
HSVhsv(314, 83%, 37%)
CMYKcmyk(0%, 83.2%, 18.9%, 62.7%)
CIE-LABlab(21.36, 40.73, -16.97)
CIE-LCHlch(21.36, 44.13, 337.38°)
OKLaboklab(33.93% 0.1213 -0.046)
OKLCHoklch(33.93% 0.13 339.2)
XYZxyz(6.2443, 3.3399, 7.3356)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104D #105F22
analogous
#4A105F #5F104D #5F1026
triadic
#5F104D #4D5F10 #104D5F
tetradic
#5F104D #5F4A10 #105F22 #10265F
square
#5F104D #5F4A10 #105F22 #10265F
split-complementary
#5F104D #265F10 #105F4A
monochromatic
#1A0415 #2B0723 #5F104D #931977 #C822A2

Accessibility & contrast

On white

12.59
#5F104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F104D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104D#FFFFFF#000000##FFFFFF
##5F104D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#65142D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104d;
/* rgb */ color: rgb(95, 16, 77);
/* oklch */ color: oklch(33.9% 0.130 339.2);
Tailwind
colors: {
  custom: {
    50: '#90597f',
    500: '#5f104d',
    950: '#000000',
  },
}
SCSS
$custom: #5f104d;
$custom-light: #90597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104d",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 313.671,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.12971,
    "h": 339.2
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#5F104D
secondary
#33984A
accent
#EE633A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F104D

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

Preview Lab → · Contrast checker → · Palette generator →

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