#5D124D#5D124D

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

Color values

HEX#5D124D
RGBrgb(93, 18, 77)
HSLhsl(313, 68%, 22%)
HSVhsv(313, 81%, 36%)
CMYKcmyk(0%, 80.6%, 17.2%, 63.5%)
CIE-LABlab(21.19, 39.54, -17.26)
CIE-LCHlch(21.19, 43.15, 336.42°)
OKLaboklab(33.74% 0.1172 -0.0468)
OKLCHoklch(33.74% 0.126 338.2)
XYZxyz(6.0702, 3.2962, 7.3363)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D124D #125D22
analogous
#48125D #5D124D #5D1228
triadic
#5D124D #4D5D12 #124D5D
tetradic
#5D124D #5D4812 #125D22 #12285D
square
#5D124D #5D4812 #125D22 #12285D
split-complementary
#5D124D #285D12 #125D48
monochromatic
#1A0515 #2A0823 #5D124D #901C77 #C426A2

Accessibility & contrast

On white

12.66
#5D124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D124D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D124D#FFFFFF#000000##FFFFFF
##5D124D1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#63162E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d124d;
/* rgb */ color: rgb(93, 18, 77);
/* oklch */ color: oklch(33.7% 0.126 338.2);
Tailwind
colors: {
  custom: {
    50: '#8e597f',
    500: '#5d124d',
    950: '#000000',
  },
}
SCSS
$custom: #5d124d;
$custom-light: #8e597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d124d",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 312.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33736,
    "c": 0.12617,
    "h": 338.2
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#5D124D
secondary
#35954A
accent
#EA623D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D124D

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

Preview Lab → · Contrast checker → · Palette generator →

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