#5F114D#5F114D

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

Color values

HEX#5F114D
RGBrgb(95, 17, 77)
HSLhsl(314, 70%, 22%)
HSVhsv(314, 82%, 37%)
CMYKcmyk(0%, 82.1%, 18.9%, 62.7%)
CIE-LABlab(21.47, 40.41, -16.80)
CIE-LCHlch(21.47, 43.76, 337.43°)
OKLaboklab(34.01% 0.1203 -0.0455)
OKLCHoklch(34.01% 0.129 339.3)
XYZxyz(6.2595, 3.3702, 7.3406)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114D #115F23
analogous
#4A115F #5F114D #5F1126
triadic
#5F114D #4D5F11 #114D5F
tetradic
#5F114D #5F4A11 #115F23 #11265F
square
#5F114D #5F4A11 #115F23 #11265F
split-complementary
#5F114D #265F11 #115F4A
monochromatic
#1A0515 #2B0823 #5F114D #931A77 #C724A1

Accessibility & contrast

On white

12.54
#5F114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F114D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F114D#FFFFFF#000000##FFFFFF
##5F114D1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#65142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f114d;
/* rgb */ color: rgb(95, 17, 77);
/* oklch */ color: oklch(34.0% 0.129 339.3);
Tailwind
colors: {
  custom: {
    50: '#90597f',
    500: '#5f114d',
    950: '#000000',
  },
}
SCSS
$custom: #5f114d;
$custom-light: #90597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114d",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 313.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3401,
    "c": 0.12862,
    "h": 339.3
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#5F114D
secondary
#34984B
accent
#EC643B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F114D

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

Preview Lab → · Contrast checker → · Palette generator →

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