#5C124B#5C124B

#5C124B is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.124 H 339.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5C124B
RGBrgb(92, 18, 75)
HSLhsl(314, 67%, 22%)
HSVhsv(314, 80%, 36%)
CMYKcmyk(0%, 80.4%, 18.5%, 63.9%)
CIE-LABlab(20.89, 38.96, -16.38)
CIE-LCHlch(20.89, 42.27, 337.19°)
OKLaboklab(33.45% 0.1158 -0.0444)
OKLCHoklch(33.45% 0.124 339)
XYZxyz(5.9001, 3.2165, 6.9654)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C124B #125C23
analogous
#48125C #5C124B #5C1226
triadic
#5C124B #4B5C12 #124B5C
tetradic
#5C124B #5C4812 #125C23 #12265C
square
#5C124B #5C4812 #125C23 #12265C
split-complementary
#5C124B #265C12 #125C48
monochromatic
#1A0515 #290821 #5C124B #8F1C75 #C2269E

Accessibility & contrast

On white

12.78
#5C124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C124B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C124B#FFFFFF#000000##FFFFFF
##5C124B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#62152D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c124b;
/* rgb */ color: rgb(92, 18, 75);
/* oklch */ color: oklch(33.4% 0.124 339.0);
Tailwind
colors: {
  custom: {
    50: '#8d597d',
    500: '#5c124b',
    950: '#000000',
  },
}
SCSS
$custom: #5c124b;
$custom-light: #8d597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c124b",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 313.784,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.12402,
    "h": 339
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#5C124B
secondary
#35944B
accent
#EA653E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C124B

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

Preview Lab → · Contrast checker → · Palette generator →

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