#5C1239#5C1239

#5C1239 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.112 H 353.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5C1239
RGBrgb(92, 18, 57)
HSLhsl(328, 67%, 22%)
HSVhsv(328, 80%, 36%)
CMYKcmyk(0%, 80.4%, 38%, 63.9%)
CIE-LABlab(20.06, 36.41, -5.23)
CIE-LCHlch(20.06, 36.79, 351.83°)
OKLaboklab(32.57% 0.1117 -0.0134)
OKLCHoklch(32.57% 0.112 353.2)
XYZxyz(5.3688, 3.0040, 4.1672)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1239 #125C35
analogous
#5A125C #5C1239 #5C1214
triadic
#5C1239 #395C12 #12395C
tetradic
#5C1239 #5C5A12 #125C35 #12145C
square
#5C1239 #5C5A12 #125C35 #12145C
split-complementary
#5C1239 #145C12 #125C5A
monochromatic
#1A0510 #290819 #5C1239 #8F1C59 #C22678

Accessibility & contrast

On white

13.12
#5C1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1239
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1239#FFFFFF#000000##FFFFFF
##5C12391.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#353537
Tritanopia (blue-blind)
#640B23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1239;
/* rgb */ color: rgb(92, 18, 57);
/* oklch */ color: oklch(32.6% 0.112 353.2);
Tailwind
colors: {
  custom: {
    50: '#8e586f',
    500: '#5c1239',
    950: '#000000',
  },
}
SCSS
$custom: #5c1239;
$custom-light: #8e586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1239",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 328.378,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32571,
    "c": 0.11248,
    "h": 353.2
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#5C1239
secondary
#359462
accent
#EA8F3E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1239

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

Preview Lab → · Contrast checker → · Palette generator →

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