#5F104B#5F104B

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

Color values

HEX#5F104B
RGBrgb(95, 16, 75)
HSLhsl(315, 71%, 22%)
HSVhsv(315, 83%, 37%)
CMYKcmyk(0%, 83.2%, 21.1%, 62.7%)
CIE-LABlab(21.25, 40.43, -15.77)
CIE-LCHlch(21.25, 43.40, 338.69°)
OKLaboklab(33.82% 0.121 -0.0426)
OKLCHoklch(33.82% 0.128 340.6)
XYZxyz(6.1748, 3.3121, 6.9694)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104B #105F24
analogous
#4C105F #5F104B #5F1024
triadic
#5F104B #4B5F10 #104B5F
tetradic
#5F104B #5F4C10 #105F24 #10245F
square
#5F104B #5F4C10 #105F24 #10245F
split-complementary
#5F104B #245F10 #105F4C
monochromatic
#1A0415 #2B0722 #5F104B #931974 #C8229E

Accessibility & contrast

On white

12.63
#5F104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F104B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104B#FFFFFF#000000##FFFFFF
##5F104B1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#313849
Tritanopia (blue-blind)
#65122C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104b;
/* rgb */ color: rgb(95, 16, 75);
/* oklch */ color: oklch(33.8% 0.128 340.6);
Tailwind
colors: {
  custom: {
    50: '#90597d',
    500: '#5f104b',
    950: '#000000',
  },
}
SCSS
$custom: #5f104b;
$custom-light: #90597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104b",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 315.19,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3382,
    "c": 0.12828,
    "h": 340.6
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#5F104B
secondary
#33984C
accent
#EE673A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F104B

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

Preview Lab → · Contrast checker → · Palette generator →

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