#5C1235#5C1235

#5C1235 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.111 H 356.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5C1235
RGBrgb(92, 18, 53)
HSLhsl(332, 67%, 22%)
HSVhsv(332, 80%, 36%)
CMYKcmyk(0%, 80.4%, 42.4%, 63.9%)
CIE-LABlab(19.91, 35.93, -2.65)
CIE-LCHlch(19.91, 36.03, 355.78°)
OKLaboklab(32.41% 0.1104 -0.0065)
OKLCHoklch(32.41% 0.111 356.6)
XYZxyz(5.2729, 2.9656, 3.6622)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1235 #125C39
analogous
#5C125A #5C1235 #5C1412
triadic
#5C1235 #355C12 #12355C
tetradic
#5C1235 #5A5C12 #125C39 #14125C
square
#5C1235 #5A5C12 #125C39 #14125C
split-complementary
#5C1235 #125C14 #125A5C
monochromatic
#1A050F #290818 #5C1235 #8F1C52 #C22670

Accessibility & contrast

On white

13.18
#5C1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1235
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1235#FFFFFF#000000##FFFFFF
##5C12351.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212736
Deuteranopia (green-blind)
#363533
Tritanopia (blue-blind)
#640821
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1235;
/* rgb */ color: rgb(92, 18, 53);
/* oklch */ color: oklch(32.4% 0.111 356.6);
Tailwind
colors: {
  custom: {
    50: '#8e586c',
    500: '#5c1235',
    950: '#000000',
  },
}
SCSS
$custom: #5c1235;
$custom-light: #8e586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1235",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 331.622,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32408,
    "c": 0.11055,
    "h": 356.6
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#5C1235
secondary
#359467
accent
#EA993E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C1235

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

Preview Lab → · Contrast checker → · Palette generator →

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