#5C1230#5C1230

#5C1230 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 1.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5C1230
RGBrgb(92, 18, 48)
HSLhsl(336, 67%, 22%)
HSVhsv(336, 80%, 36%)
CMYKcmyk(0%, 80.4%, 47.8%, 63.9%)
CIE-LABlab(19.73, 35.37, 0.61)
CIE-LCHlch(19.73, 35.37, 0.99°)
OKLaboklab(32.22% 0.1085 0.002)
OKLCHoklch(32.22% 0.109 1)
XYZxyz(5.1638, 2.9220, 3.0878)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1230 #125C3E
analogous
#5C1255 #5C1230 #5C1912
triadic
#5C1230 #305C12 #12305C
tetradic
#5C1230 #555C12 #125C3E #19125C
square
#5C1230 #555C12 #125C3E #19125C
split-complementary
#5C1230 #125C19 #12555C
monochromatic
#1A050D #290815 #5C1230 #8F1C4B #C22665

Accessibility & contrast

On white

13.26
#5C1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5C1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1230
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1230#FFFFFF#000000##FFFFFF
##5C12301.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232731
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#64051F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1230;
/* rgb */ color: rgb(92, 18, 48);
/* oklch */ color: oklch(32.2% 0.109 1.0);
Tailwind
colors: {
  custom: {
    50: '#8e5868',
    500: '#5c1230',
    950: '#000000',
  },
}
SCSS
$custom: #5c1230;
$custom-light: #8e5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1230",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 335.676,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3222,
    "c": 0.10854,
    "h": 1
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5C1230
secondary
#35946E
accent
#EAA43E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C1230

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

Preview Lab → · Contrast checker → · Palette generator →

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