#5C1027#5C1027

#5C1027 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.108 H 8.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5C1027
RGBrgb(92, 16, 39)
HSLhsl(342, 70%, 21%)
HSVhsv(342, 83%, 36%)
CMYKcmyk(0%, 82.6%, 57.6%, 63.9%)
CIE-LABlab(19.20, 35.21, 6.24)
CIE-LCHlch(19.20, 35.76, 10.04°)
OKLaboklab(31.74% 0.1071 0.0159)
OKLCHoklch(31.74% 0.108 8.5)
XYZxyz(4.9656, 2.7931, 2.1967)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1027 #105C45
analogous
#5C104D #5C1027 #5C1F10
triadic
#5C1027 #275C10 #10275C
tetradic
#5C1027 #4D5C10 #105C45 #1F105C
square
#5C1027 #4D5C10 #105C45 #1F105C
split-complementary
#5C1027 #105C1F #104D5C
monochromatic
#1A050B #280711 #5C1027 #90193D #C42253

Accessibility & contrast

On white

13.48
#5C1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1027
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1027#FFFFFF#000000##FFFFFF
##5C10271.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1027;
/* rgb */ color: rgb(92, 16, 39);
/* oklch */ color: oklch(31.7% 0.108 8.5);
Tailwind
colors: {
  custom: {
    50: '#8f5760',
    500: '#5c1027',
    950: '#000000',
  },
}
SCSS
$custom: #5c1027;
$custom-light: #8f5760;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1027",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 341.842,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.10832,
    "h": 8.5
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#5C1027
secondary
#339577
accent
#EDB73B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1027

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

Preview Lab → · Contrast checker → · Palette generator →

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