#5F104E#5F104E

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

Color values

HEX#5F104E
RGBrgb(95, 16, 78)
HSLhsl(313, 71%, 22%)
HSVhsv(313, 83%, 37%)
CMYKcmyk(0%, 83.2%, 17.9%, 62.7%)
CIE-LABlab(21.41, 40.88, -17.57)
CIE-LCHlch(21.41, 44.50, 336.75°)
OKLaboklab(33.98% 0.1214 -0.0477)
OKLCHoklch(33.98% 0.13 338.6)
XYZxyz(6.2799, 3.3542, 7.5229)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104E #105F21
analogous
#49105F #5F104E #5F1027
triadic
#5F104E #4E5F10 #104E5F
tetradic
#5F104E #5F4910 #105F21 #10275F
square
#5F104E #5F4910 #105F21 #10275F
split-complementary
#5F104E #275F10 #105F49
monochromatic
#1A0416 #2B0723 #5F104E #931979 #C822A4

Accessibility & contrast

On white

12.57
#5F104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F104E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104E#FFFFFF#000000##FFFFFF
##5F104E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#30384C
Tritanopia (blue-blind)
#65142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104e;
/* rgb */ color: rgb(95, 16, 78);
/* oklch */ color: oklch(34.0% 0.130 338.6);
Tailwind
colors: {
  custom: {
    50: '#90597f',
    500: '#5f104e',
    950: '#000000',
  },
}
SCSS
$custom: #5f104e;
$custom-light: #90597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104e",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 312.911,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33984,
    "c": 0.13044,
    "h": 338.6
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#5F104E
secondary
#339849
accent
#EE613A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F104E

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

Preview Lab → · Contrast checker → · Palette generator →

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