#5F114E#5F114E

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

Color values

HEX#5F114E
RGBrgb(95, 17, 78)
HSLhsl(313, 70%, 22%)
HSVhsv(313, 82%, 37%)
CMYKcmyk(0%, 82.1%, 17.9%, 62.7%)
CIE-LABlab(21.52, 40.56, -17.39)
CIE-LCHlch(21.52, 44.14, 336.79°)
OKLaboklab(34.07% 0.1204 -0.0472)
OKLCHoklch(34.07% 0.129 338.6)
XYZxyz(6.2951, 3.3845, 7.5280)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114E #115F22
analogous
#49115F #5F114E #5F1127
triadic
#5F114E #4E5F11 #114E5F
tetradic
#5F114E #5F4911 #115F22 #11275F
square
#5F114E #5F4911 #115F22 #11275F
split-complementary
#5F114E #275F11 #115F49
monochromatic
#1A0515 #2B0823 #5F114E #931A79 #C724A3

Accessibility & contrast

On white

12.52
#5F114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F114E
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F114E#FFFFFF#000000##FFFFFF
##5F114E1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f114e;
/* rgb */ color: rgb(95, 17, 78);
/* oklch */ color: oklch(34.1% 0.129 338.6);
Tailwind
colors: {
  custom: {
    50: '#90597f',
    500: '#5f114e',
    950: '#000000',
  },
}
SCSS
$custom: #5f114e;
$custom-light: #90597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114e",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 313.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.12935,
    "h": 338.6
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#5F114E
secondary
#34984A
accent
#EC623B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F114E

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

Preview Lab → · Contrast checker → · Palette generator →

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