#5C2139#5C2139

#5C2139 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.4% C 0.091 H 357.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5C2139
RGBrgb(92, 33, 57)
HSLhsl(336, 47%, 25%)
HSVhsv(336, 64%, 36%)
CMYKcmyk(0%, 64.1%, 38%, 63.9%)
CIE-LABlab(22.51, 29.68, -1.59)
CIE-LCHlch(22.51, 29.72, 356.94°)
OKLaboklab(34.38% 0.0905 -0.0038)
OKLCHoklch(34.38% 0.091 357.6)
XYZxyz(5.6963, 3.6590, 4.2764)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2139 #215C44
analogous
#5C2157 #5C2139 #5C2721
triadic
#5C2139 #395C21 #21395C
tetradic
#5C2139 #575C21 #215C44 #27215C
square
#5C2139 #575C21 #215C44 #27215C
split-complementary
#5C2139 #215C27 #21575C
monochromatic
#17080E #2F111D #5C2139 #893155 #B64171

Accessibility & contrast

On white

12.13
#5C2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2139
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2139#FFFFFF#000000##FFFFFF
##5C21391.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3A
Deuteranopia (green-blind)
#3B3A38
Tritanopia (blue-blind)
#631C2A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c2139;
/* rgb */ color: rgb(92, 33, 57);
/* oklch */ color: oklch(34.4% 0.091 357.6);
Tailwind
colors: {
  custom: {
    50: '#8d606f',
    500: '#5c2139',
    950: '#000000',
  },
}
SCSS
$custom: #5c2139;
$custom-light: #8d606f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2139",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 335.593,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.09058,
    "h": 357.6
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#5C2139
secondary
#499073
accent
#D7A051
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #5C2139

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

Preview Lab → · Contrast checker → · Palette generator →

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