#5D124F#5D124F

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

Color values

HEX#5D124F
RGBrgb(93, 18, 79)
HSLhsl(311, 68%, 22%)
HSVhsv(311, 81%, 36%)
CMYKcmyk(0%, 80.6%, 15.1%, 63.5%)
CIE-LABlab(21.30, 39.86, -18.44)
CIE-LCHlch(21.30, 43.92, 335.17°)
OKLaboklab(33.85% 0.1174 -0.0502)
OKLCHoklch(33.85% 0.128 336.8)
XYZxyz(6.1419, 3.3249, 7.7139)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D124F #125D20
analogous
#46125D #5D124F #5D122A
triadic
#5D124F #4F5D12 #124F5D
tetradic
#5D124F #5D4612 #125D20 #122A5D
square
#5D124F #5D4612 #125D20 #122A5D
split-complementary
#5D124F #2A5D12 #125D46
monochromatic
#1A0516 #2A0823 #5D124F #901C7B #C426A6

Accessibility & contrast

On white

12.61
#5D124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D124F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D124F#FFFFFF#000000##FFFFFF
##5D124F1.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#62172F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d124f;
/* rgb */ color: rgb(93, 18, 79);
/* oklch */ color: oklch(33.8% 0.128 336.8);
Tailwind
colors: {
  custom: {
    50: '#8e5980',
    500: '#5d124f',
    950: '#000000',
  },
}
SCSS
$custom: #5d124f;
$custom-light: #8e5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5d124f",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 311.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.12769,
    "h": 336.8
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#5D124F
secondary
#359547
accent
#EA5E3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D124F

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

Preview Lab → · Contrast checker → · Palette generator →

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