#5C134E#5C134E

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

Color values

HEX#5C134E
RGBrgb(92, 19, 78)
HSLhsl(312, 66%, 22%)
HSVhsv(312, 79%, 36%)
CMYKcmyk(0%, 79.3%, 15.2%, 63.9%)
CIE-LABlab(21.18, 39.08, -17.98)
CIE-LCHlch(21.18, 43.02, 335.30°)
OKLaboklab(33.71% 0.1151 -0.0489)
OKLCHoklch(33.71% 0.125 337)
XYZxyz(6.0218, 3.2917, 7.5245)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C134E #135C21
analogous
#46135C #5C134E #5C132A
triadic
#5C134E #4E5C13 #134E5C
tetradic
#5C134E #5C4613 #135C21 #132A5C
square
#5C134E #5C4613 #135C21 #132A5C
split-complementary
#5C134E #2A5C13 #135C46
monochromatic
#190516 #290923 #5C134E #8F1D79 #C128A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C134E#FFFFFF#000000##FFFFFF
##5C134E1.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)
#152C50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#61182F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c134e;
/* rgb */ color: rgb(92, 19, 78);
/* oklch */ color: oklch(33.7% 0.125 337.0);
Tailwind
colors: {
  custom: {
    50: '#8d597f',
    500: '#5c134e',
    950: '#000000',
  },
}
SCSS
$custom: #5c134e;
$custom-light: #8d597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c134e",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 311.507,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.12509,
    "h": 337
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#5C134E
secondary
#379449
accent
#E9603F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C134E

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

Preview Lab → · Contrast checker → · Palette generator →

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