#5F114F#5F114F

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

Color values

HEX#5F114F
RGBrgb(95, 17, 79)
HSLhsl(312, 70%, 22%)
HSVhsv(312, 82%, 37%)
CMYKcmyk(0%, 82.1%, 16.8%, 62.7%)
CIE-LABlab(21.58, 40.72, -17.99)
CIE-LCHlch(21.58, 44.52, 336.17°)
OKLaboklab(34.12% 0.1206 -0.0489)
OKLCHoklch(34.12% 0.13 337.9)
XYZxyz(6.3312, 3.3989, 7.7182)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114F #115F21
analogous
#48115F #5F114F #5F1128
triadic
#5F114F #4F5F11 #114F5F
tetradic
#5F114F #5F4811 #115F21 #11285F
square
#5F114F #5F4811 #115F21 #11285F
split-complementary
#5F114F #285F11 #115F48
monochromatic
#1A0516 #2B0824 #5F114F #931A7A #C724A5

Accessibility & contrast

On white

12.50
#5F114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F114F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F114F#FFFFFF#000000##FFFFFF
##5F114F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#65162F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f114f;
/* rgb */ color: rgb(95, 17, 79);
/* oklch */ color: oklch(34.1% 0.130 337.9);
Tailwind
colors: {
  custom: {
    50: '#8f5980',
    500: '#5f114f',
    950: '#000000',
  },
}
SCSS
$custom: #5f114f;
$custom-light: #8f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114f",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 312.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.13008,
    "h": 337.9
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#5F114F
secondary
#349849
accent
#EC603B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F114F

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

Preview Lab → · Contrast checker → · Palette generator →

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