#5C1238#5C1238

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

Color values

HEX#5C1238
RGBrgb(92, 18, 56)
HSLhsl(329, 67%, 22%)
HSVhsv(329, 80%, 36%)
CMYKcmyk(0%, 80.4%, 39.1%, 63.9%)
CIE-LABlab(20.02, 36.29, -4.59)
CIE-LCHlch(20.02, 36.58, 352.80°)
OKLaboklab(32.53% 0.1114 -0.0117)
OKLCHoklch(32.53% 0.112 354)
XYZxyz(5.3441, 2.9941, 4.0371)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1238 #125C36
analogous
#5B125C #5C1238 #5C1213
triadic
#5C1238 #385C12 #12385C
tetradic
#5C1238 #5C5B12 #125C36 #12135C
square
#5C1238 #5C5B12 #125C36 #12135C
split-complementary
#5C1238 #135C12 #125C5B
monochromatic
#1A0510 #290819 #5C1238 #8F1C57 #C22676

Accessibility & contrast

On white

13.14
#5C1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1238
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1238#FFFFFF#000000##FFFFFF
##5C12381.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#353536
Tritanopia (blue-blind)
#640A23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1238;
/* rgb */ color: rgb(92, 18, 56);
/* oklch */ color: oklch(32.5% 0.112 354.0);
Tailwind
colors: {
  custom: {
    50: '#8e586e',
    500: '#5c1238',
    950: '#000000',
  },
}
SCSS
$custom: #5c1238;
$custom-light: #8e586e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1238",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 329.189,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32529,
    "c": 0.11197,
    "h": 354
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#5C1238
secondary
#359464
accent
#EA923E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1238

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

Preview Lab → · Contrast checker → · Palette generator →

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