#5D124C#5D124C

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

Color values

HEX#5D124C
RGBrgb(93, 18, 76)
HSLhsl(314, 68%, 22%)
HSVhsv(314, 81%, 36%)
CMYKcmyk(0%, 80.6%, 18.3%, 63.5%)
CIE-LABlab(21.14, 39.39, -16.66)
CIE-LCHlch(21.14, 42.77, 337.07°)
OKLaboklab(33.68% 0.117 -0.0451)
OKLCHoklch(33.68% 0.125 338.9)
XYZxyz(6.0352, 3.2822, 7.1518)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D124C #125D23
analogous
#49125D #5D124C #5D1227
triadic
#5D124C #4C5D12 #124C5D
tetradic
#5D124C #5D4912 #125D23 #12275D
square
#5D124C #5D4912 #125D23 #12275D
split-complementary
#5D124C #275D12 #125D49
monochromatic
#1A0515 #2A0822 #5D124C #901C76 #C426A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D124C#FFFFFF#000000##FFFFFF
##5D124C1.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)
#162B4E
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#63152D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d124c;
/* rgb */ color: rgb(93, 18, 76);
/* oklch */ color: oklch(33.7% 0.125 338.9);
Tailwind
colors: {
  custom: {
    50: '#8e597e',
    500: '#5d124c',
    950: '#000000',
  },
}
SCSS
$custom: #5d124c;
$custom-light: #8e597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d124c",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 313.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.12543,
    "h": 338.9
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#5D124C
secondary
#35954B
accent
#EA653D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D124C

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

Preview Lab → · Contrast checker → · Palette generator →

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