#5C134B#5C134B

#5C134B is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.123 H 339.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5C134B
RGBrgb(92, 19, 75)
HSLhsl(314, 66%, 22%)
HSVhsv(314, 79%, 36%)
CMYKcmyk(0%, 79.3%, 18.5%, 63.9%)
CIE-LABlab(21.02, 38.60, -16.19)
CIE-LCHlch(21.02, 41.86, 337.25°)
OKLaboklab(33.54% 0.1147 -0.0438)
OKLCHoklch(33.54% 0.123 339.1)
XYZxyz(5.9167, 3.2496, 6.9709)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C134B #135C24
analogous
#49135C #5C134B #5C1326
triadic
#5C134B #4B5C13 #134B5C
tetradic
#5C134B #5C4913 #135C24 #13265C
square
#5C134B #5C4913 #135C24 #13265C
split-complementary
#5C134B #265C13 #135C49
monochromatic
#190515 #290922 #5C134B #8F1D74 #C1289E

Accessibility & contrast

On white

12.73
#5C134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C134B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C134B#FFFFFF#000000##FFFFFF
##5C134B1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#2F3749
Tritanopia (blue-blind)
#62162D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c134b;
/* rgb */ color: rgb(92, 19, 75);
/* oklch */ color: oklch(33.5% 0.123 339.1);
Tailwind
colors: {
  custom: {
    50: '#8d597d',
    500: '#5c134b',
    950: '#000000',
  },
}
SCSS
$custom: #5c134b;
$custom-light: #8d597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c134b",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 313.973,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.12281,
    "h": 339.1
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#5C134B
secondary
#37944C
accent
#E9673F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C134B

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

Preview Lab → · Contrast checker → · Palette generator →

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