#5F114C#5F114C

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

Color values

HEX#5F114C
RGBrgb(95, 17, 76)
HSLhsl(315, 70%, 22%)
HSVhsv(315, 82%, 37%)
CMYKcmyk(0%, 82.1%, 20%, 62.7%)
CIE-LABlab(21.42, 40.26, -16.20)
CIE-LCHlch(21.42, 43.39, 338.08°)
OKLaboklab(33.96% 0.1202 -0.0438)
OKLCHoklch(33.96% 0.128 340)
XYZxyz(6.2245, 3.3562, 7.1561)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114C #115F24
analogous
#4B115F #5F114C #5F1125
triadic
#5F114C #4C5F11 #114C5F
tetradic
#5F114C #5F4B11 #115F24 #11255F
square
#5F114C #5F4B11 #115F24 #11255F
split-complementary
#5F114C #255F11 #115F4B
monochromatic
#1A0515 #2B0822 #5F114C #931A76 #C7249F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F114C#FFFFFF#000000##FFFFFF
##5F114C1.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)
#172C4E
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#65142D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f114c;
/* rgb */ color: rgb(95, 17, 76);
/* oklch */ color: oklch(34.0% 0.128 340.0);
Tailwind
colors: {
  custom: {
    50: '#90597e',
    500: '#5f114c',
    950: '#000000',
  },
}
SCSS
$custom: #5f114c;
$custom-light: #90597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114c",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 314.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33955,
    "c": 0.1279,
    "h": 340
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#5F114C
secondary
#34984C
accent
#EC663B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F114C

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

Preview Lab → · Contrast checker → · Palette generator →

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