#5C124F#5C124F

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

Color values

HEX#5C124F
RGBrgb(92, 18, 79)
HSLhsl(311, 67%, 22%)
HSVhsv(311, 80%, 36%)
CMYKcmyk(0%, 80.4%, 14.1%, 63.9%)
CIE-LABlab(21.11, 39.60, -18.76)
CIE-LCHlch(21.11, 43.82, 334.65°)
OKLaboklab(33.67% 0.1163 -0.0512)
OKLCHoklch(33.67% 0.127 336.3)
XYZxyz(6.0413, 3.2730, 7.7092)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C124F #125C1F
analogous
#44125C #5C124F #5C122A
triadic
#5C124F #4F5C12 #124F5C
tetradic
#5C124F #5C4412 #125C1F #122A5C
square
#5C124F #5C4412 #125C1F #122A5C
split-complementary
#5C124F #2A5C12 #125C44
monochromatic
#1A0516 #290823 #5C124F #8F1C7B #C226A7

Accessibility & contrast

On white

12.69
#5C124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C124F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C124F#FFFFFF#000000##FFFFFF
##5C124F1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C51
Deuteranopia (green-blind)
#2D374D
Tritanopia (blue-blind)
#61172F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c124f;
/* rgb */ color: rgb(92, 18, 79);
/* oklch */ color: oklch(33.7% 0.127 336.3);
Tailwind
colors: {
  custom: {
    50: '#8d5980',
    500: '#5c124f',
    950: '#000000',
  },
}
SCSS
$custom: #5c124f;
$custom-light: #8d5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5c124f",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 310.541,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33672,
    "c": 0.12706,
    "h": 336.3
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#5C124F
secondary
#359446
accent
#EA5C3E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C124F

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

Preview Lab → · Contrast checker → · Palette generator →

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