#5C2145#5C2145

#5C2145 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.9% C 0.098 H 345.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#5C2145
RGBrgb(92, 33, 69)
HSLhsl(323, 47%, 25%)
HSVhsv(323, 64%, 36%)
CMYKcmyk(0%, 64.1%, 25%, 63.9%)
CIE-LABlab(22.98, 31.44, -9.09)
CIE-LCHlch(22.98, 32.73, 343.87°)
OKLaboklab(34.88% 0.0946 -0.024)
OKLCHoklch(34.88% 0.098 345.7)
XYZxyz(6.0319, 3.7933, 6.0436)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2145 #215C38
analogous
#56215C #5C2145 #5C2128
triadic
#5C2145 #455C21 #21455C
tetradic
#5C2145 #5C5621 #215C38 #21285C
square
#5C2145 #5C5621 #215C38 #21285C
split-complementary
#5C2145 #285C21 #215C56
monochromatic
#170811 #2F1123 #5C2145 #893167 #B64189

Accessibility & contrast

On white

11.94
#5C2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2145
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2145#FFFFFF#000000##FFFFFF
##5C21451.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273046
Deuteranopia (green-blind)
#373B44
Tritanopia (blue-blind)
#622030
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c2145;
/* rgb */ color: rgb(92, 33, 69);
/* oklch */ color: oklch(34.9% 0.098 345.7);
Tailwind
colors: {
  custom: {
    50: '#8c6078',
    500: '#5c2145',
    950: '#000000',
  },
}
SCSS
$custom: #5c2145;
$custom-light: #8c6078;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2145",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 323.39,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34879,
    "c": 0.09756,
    "h": 345.7
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#5C2145
secondary
#499065
accent
#D78551
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5C2145

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

Preview Lab → · Contrast checker → · Palette generator →

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