#5C2146#5C2146

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

Color values

HEX#5C2146
RGBrgb(92, 33, 70)
HSLhsl(322, 47%, 25%)
HSVhsv(322, 64%, 36%)
CMYKcmyk(0%, 64.1%, 23.9%, 63.9%)
CIE-LABlab(23.02, 31.60, -9.70)
CIE-LCHlch(23.02, 33.06, 342.93°)
OKLaboklab(34.92% 0.0948 -0.0257)
OKLCHoklch(34.92% 0.098 344.8)
XYZxyz(6.0632, 3.8058, 6.2084)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2146 #215C37
analogous
#55215C #5C2146 #5C2129
triadic
#5C2146 #465C21 #21465C
tetradic
#5C2146 #5C5521 #215C37 #21295C
square
#5C2146 #5C5521 #215C37 #21295C
split-complementary
#5C2146 #295C21 #215C55
monochromatic
#170811 #2F1124 #5C2146 #893168 #B6418B

Accessibility & contrast

On white

11.93
#5C2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2146
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2146#FFFFFF#000000##FFFFFF
##5C21461.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c2146;
/* rgb */ color: rgb(92, 33, 70);
/* oklch */ color: oklch(34.9% 0.098 344.8);
Tailwind
colors: {
  custom: {
    50: '#8c6079',
    500: '#5c2146',
    950: '#000000',
  },
}
SCSS
$custom: #5c2146;
$custom-light: #8c6079;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2146",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 322.373,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34924,
    "c": 0.09826,
    "h": 344.8
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#5C2146
secondary
#499063
accent
#D78351
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5C2146

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

Preview Lab → · Contrast checker → · Palette generator →

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