#5C1248#5C1248

#5C1248 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.122 H 341.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5C1248
RGBrgb(92, 18, 72)
HSLhsl(316, 67%, 22%)
HSVhsv(316, 80%, 36%)
CMYKcmyk(0%, 80.4%, 21.7%, 63.9%)
CIE-LABlab(20.74, 38.50, -14.57)
CIE-LCHlch(20.74, 41.16, 339.27°)
OKLaboklab(33.28% 0.1153 -0.0392)
OKLCHoklch(33.28% 0.122 341.2)
XYZxyz(5.7998, 3.1764, 6.4373)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1248 #125C26
analogous
#4B125C #5C1248 #5C1223
triadic
#5C1248 #485C12 #12485C
tetradic
#5C1248 #5C4B12 #125C26 #12235C
square
#5C1248 #5C4B12 #125C26 #12235C
split-complementary
#5C1248 #235C12 #125C4B
monochromatic
#1A0514 #290820 #5C1248 #8F1C70 #C22698

Accessibility & contrast

On white

12.84
#5C1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C1248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1248
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1248#FFFFFF#000000##FFFFFF
##5C12481.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#303646
Tritanopia (blue-blind)
#62142B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1248;
/* rgb */ color: rgb(92, 18, 72);
/* oklch */ color: oklch(33.3% 0.122 341.2);
Tailwind
colors: {
  custom: {
    50: '#8d597b',
    500: '#5c1248',
    950: '#000000',
  },
}
SCSS
$custom: #5c1248;
$custom-light: #8d597b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1248",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 316.216,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33285,
    "c": 0.12183,
    "h": 341.2
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#5C1248
secondary
#35944F
accent
#EA6C3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1248

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

Preview Lab → · Contrast checker → · Palette generator →

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