#5C1245#5C1245

#5C1245 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.120 H 343.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5C1245
RGBrgb(92, 18, 69)
HSLhsl(319, 67%, 22%)
HSVhsv(319, 80%, 36%)
CMYKcmyk(0%, 80.4%, 25%, 63.9%)
CIE-LABlab(20.59, 38.05, -12.74)
CIE-LCHlch(20.59, 40.13, 341.48°)
OKLaboklab(33.13% 0.1148 -0.0341)
OKLCHoklch(33.13% 0.12 343.5)
XYZxyz(5.7043, 3.1382, 5.9344)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1245 #125C29
analogous
#4E125C #5C1245 #5C1220
triadic
#5C1245 #455C12 #12455C
tetradic
#5C1245 #5C4E12 #125C29 #12205C
square
#5C1245 #5C4E12 #125C29 #12205C
split-complementary
#5C1245 #205C12 #125C4E
monochromatic
#1A0513 #29081F #5C1245 #8F1C6B #C22692

Accessibility & contrast

On white

12.90
#5C1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1245
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1245#FFFFFF#000000##FFFFFF
##5C12451.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#313643
Tritanopia (blue-blind)
#62122A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1245;
/* rgb */ color: rgb(92, 18, 69);
/* oklch */ color: oklch(33.1% 0.120 343.5);
Tailwind
colors: {
  custom: {
    50: '#8d5978',
    500: '#5c1245',
    950: '#000000',
  },
}
SCSS
$custom: #5c1245;
$custom-light: #8d5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1245",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 318.649,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.11974,
    "h": 343.5
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#5C1245
secondary
#359453
accent
#EA733E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1245

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

Preview Lab → · Contrast checker → · Palette generator →

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