#5C1243#5C1243

#5C1243 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.118 H 345.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5C1243
RGBrgb(92, 18, 67)
HSLhsl(320, 67%, 22%)
HSVhsv(320, 80%, 36%)
CMYKcmyk(0%, 80.4%, 27.2%, 63.9%)
CIE-LABlab(20.49, 37.76, -11.51)
CIE-LCHlch(20.49, 39.47, 343.04°)
OKLaboklab(33.03% 0.1144 -0.0306)
OKLCHoklch(33.03% 0.118 345)
XYZxyz(5.6433, 3.1138, 5.6129)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1243 #125C2B
analogous
#50125C #5C1243 #5C121E
triadic
#5C1243 #435C12 #12435C
tetradic
#5C1243 #5C5012 #125C2B #121E5C
square
#5C1243 #5C5012 #125C2B #121E5C
split-complementary
#5C1243 #1E5C12 #125C50
monochromatic
#1A0513 #29081E #5C1243 #8F1C68 #C2268E

Accessibility & contrast

On white

12.94
#5C1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1243
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1243#FFFFFF#000000##FFFFFF
##5C12431.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2944
Deuteranopia (green-blind)
#323641
Tritanopia (blue-blind)
#631129
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1243;
/* rgb */ color: rgb(92, 18, 67);
/* oklch */ color: oklch(33.0% 0.118 345.0);
Tailwind
colors: {
  custom: {
    50: '#8d5877',
    500: '#5c1243',
    950: '#000000',
  },
}
SCSS
$custom: #5c1243;
$custom-light: #8d5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1243",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 320.27,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.1184,
    "h": 345
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#5C1243
secondary
#359455
accent
#EA783E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1243

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

Preview Lab → · Contrast checker → · Palette generator →

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