#5F104A#5F104A

#5F104A is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.128 H 341.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5F104A
RGBrgb(95, 16, 74)
HSLhsl(316, 71%, 22%)
HSVhsv(316, 83%, 37%)
CMYKcmyk(0%, 83.2%, 22.1%, 62.7%)
CIE-LABlab(21.20, 40.28, -15.17)
CIE-LCHlch(21.20, 43.04, 339.36°)
OKLaboklab(33.77% 0.1209 -0.0409)
OKLCHoklch(33.77% 0.128 341.3)
XYZxyz(6.1408, 3.2985, 6.7905)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104A #105F25
analogous
#4D105F #5F104A #5F1023
triadic
#5F104A #4A5F10 #104A5F
tetradic
#5F104A #5F4D10 #105F25 #10235F
square
#5F104A #5F4D10 #105F25 #10235F
split-complementary
#5F104A #235F10 #105F4D
monochromatic
#1A0414 #2B0721 #5F104A #931973 #C8229C

Accessibility & contrast

On white

12.65
#5F104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F104A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104A#FFFFFF#000000##FFFFFF
##5F104A1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#65122C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104a;
/* rgb */ color: rgb(95, 16, 74);
/* oklch */ color: oklch(33.8% 0.128 341.3);
Tailwind
colors: {
  custom: {
    50: '#90597c',
    500: '#5f104a',
    950: '#000000',
  },
}
SCSS
$custom: #5f104a;
$custom-light: #90597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104a",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 315.949,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.12758,
    "h": 341.3
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#5F104A
secondary
#33984E
accent
#EE6A3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F104A

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

Preview Lab → · Contrast checker → · Palette generator →

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