#5C2247#5C2247

#5C2247 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.1% C 0.097 H 344.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5C2247
RGBrgb(92, 34, 71)
HSLhsl(322, 46%, 25%)
HSVhsv(322, 63%, 36%)
CMYKcmyk(0%, 63%, 22.8%, 63.9%)
CIE-LABlab(23.25, 31.24, -10.03)
CIE-LCHlch(23.25, 32.81, 342.21°)
OKLaboklab(35.11% 0.0935 -0.0266)
OKLCHoklch(35.11% 0.097 344.1)
XYZxyz(6.1232, 3.8748, 6.3854)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2247 #225C37
analogous
#54225C #5C2247 #5C222A
triadic
#5C2247 #475C22 #22475C
tetradic
#5C2247 #5C5422 #225C37 #222A5C
square
#5C2247 #5C5422 #225C37 #222A5C
split-complementary
#5C2247 #2A5C22 #225C54
monochromatic
#160811 #2F1125 #5C2247 #893369 #B5438C

Accessibility & contrast

On white

11.83
#5C2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2247
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2247#FFFFFF#000000##FFFFFF
##5C22471.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273148
Deuteranopia (green-blind)
#373B46
Tritanopia (blue-blind)
#622231
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c2247;
/* rgb */ color: rgb(92, 34, 71);
/* oklch */ color: oklch(35.1% 0.097 344.1);
Tailwind
colors: {
  custom: {
    50: '#8c617a',
    500: '#5c2247',
    950: '#000000',
  },
}
SCSS
$custom: #5c2247;
$custom-light: #8c617a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2247",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 321.724,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.09727,
    "h": 344.1
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#5C2247
secondary
#4A9063
accent
#D68252
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5C2247

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

Preview Lab → · Contrast checker → · Palette generator →

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