#5C1145#5C1145

#5C1145 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.121 H 343.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5C1145
RGBrgb(92, 17, 69)
HSLhsl(318, 69%, 21%)
HSVhsv(318, 82%, 36%)
CMYKcmyk(0%, 81.5%, 25%, 63.9%)
CIE-LABlab(20.47, 38.40, -12.94)
CIE-LCHlch(20.47, 40.52, 341.38°)
OKLaboklab(33.04% 0.1159 -0.0346)
OKLCHoklch(33.04% 0.121 343.4)
XYZxyz(5.6885, 3.1065, 5.9291)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1145 #115C28
analogous
#4E115C #5C1145 #5C1120
triadic
#5C1145 #455C11 #11455C
tetradic
#5C1145 #5C4E11 #115C28 #11205C
square
#5C1145 #5C4E11 #115C28 #11205C
split-complementary
#5C1145 #205C11 #115C4E
monochromatic
#1A0513 #28071E #5C1145 #901B6C #C32492

Accessibility & contrast

On white

12.95
#5C1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1145
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1145#FFFFFF#000000##FFFFFF
##5C11451.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#313643
Tritanopia (blue-blind)
#621129
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1145;
/* rgb */ color: rgb(92, 17, 69);
/* oklch */ color: oklch(33.0% 0.121 343.4);
Tailwind
colors: {
  custom: {
    50: '#8d5878',
    500: '#5c1145',
    950: '#000000',
  },
}
SCSS
$custom: #5c1145;
$custom-light: #8d5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1145",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 318.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.12093,
    "h": 343.4
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#5C1145
secondary
#349552
accent
#EC723C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1145

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

Preview Lab → · Contrast checker → · Palette generator →

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