#5D114E#5D114E

#5D114E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.128 H 337.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#5D114E
RGBrgb(93, 17, 78)
HSLhsl(312, 69%, 22%)
HSVhsv(312, 82%, 36%)
CMYKcmyk(0%, 81.7%, 16.1%, 63.5%)
CIE-LABlab(21.13, 40.04, -18.04)
CIE-LCHlch(21.13, 43.92, 335.75°)
OKLaboklab(33.71% 0.1183 -0.0491)
OKLCHoklch(33.71% 0.128 337.5)
XYZxyz(6.0899, 3.2787, 7.5184)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D114E #115D20
analogous
#46115D #5D114E #5D1128
triadic
#5D114E #4E5D11 #114E5D
tetradic
#5D114E #5D4611 #115D20 #11285D
square
#5D114E #5D4611 #115D20 #11285D
split-complementary
#5D114E #285D11 #115D46
monochromatic
#1A0516 #290823 #5D114E #911A79 #C424A5

Accessibility & contrast

On white

12.68
#5D114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D114E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D114E#FFFFFF#000000##FFFFFF
##5D114E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#62162E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d114e;
/* rgb */ color: rgb(93, 17, 78);
/* oklch */ color: oklch(33.7% 0.128 337.5);
Tailwind
colors: {
  custom: {
    50: '#8e597f',
    500: '#5d114e',
    950: '#000000',
  },
}
SCSS
$custom: #5d114e;
$custom-light: #8e597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d114e",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 311.842,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.12807,
    "h": 337.5
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#5D114E
secondary
#349647
accent
#EC5F3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D114E

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

Preview Lab → · Contrast checker → · Palette generator →

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