#5C1045#5C1045

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

Color values

HEX#5C1045
RGBrgb(92, 16, 69)
HSLhsl(318, 70%, 21%)
HSVhsv(318, 83%, 36%)
CMYKcmyk(0%, 82.6%, 25%, 63.9%)
CIE-LABlab(20.35, 38.74, -13.12)
CIE-LCHlch(20.35, 40.90, 341.29°)
OKLaboklab(32.95% 0.1169 -0.0351)
OKLCHoklch(32.95% 0.122 343.3)
XYZxyz(5.6733, 3.0762, 5.9241)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1045 #105C27
analogous
#4D105C #5C1045 #5C101F
triadic
#5C1045 #455C10 #10455C
tetradic
#5C1045 #5C4D10 #105C27 #101F5C
square
#5C1045 #5C4D10 #105C27 #101F5C
split-complementary
#5C1045 #1F5C10 #105C4D
monochromatic
#1A0514 #28071E #5C1045 #90196C #C42293

Accessibility & contrast

On white

13.00
#5C1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1045
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1045#FFFFFF#000000##FFFFFF
##5C10451.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1045;
/* rgb */ color: rgb(92, 16, 69);
/* oklch */ color: oklch(33.0% 0.122 343.3);
Tailwind
colors: {
  custom: {
    50: '#8d5878',
    500: '#5c1045',
    950: '#000000',
  },
}
SCSS
$custom: #5c1045;
$custom-light: #8d5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1045",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 318.158,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.12207,
    "h": 343.3
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#5C1045
secondary
#339550
accent
#ED713B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1045

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

Preview Lab → · Contrast checker → · Palette generator →

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