#5C1231#5C1231

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

Color values

HEX#5C1231
RGBrgb(92, 18, 49)
HSLhsl(335, 67%, 22%)
HSVhsv(335, 80%, 36%)
CMYKcmyk(0%, 80.4%, 46.7%, 63.9%)
CIE-LABlab(19.76, 35.48, -0.05)
CIE-LCHlch(19.76, 35.48, 359.93°)
OKLaboklab(32.26% 0.1089 0.0003)
OKLCHoklch(32.26% 0.109 0.1)
XYZxyz(5.1847, 2.9303, 3.1977)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1231 #125C3D
analogous
#5C1256 #5C1231 #5C1812
triadic
#5C1231 #315C12 #12315C
tetradic
#5C1231 #565C12 #125C3D #18125C
square
#5C1231 #565C12 #125C3D #18125C
split-complementary
#5C1231 #125C18 #12565C
monochromatic
#1A050E #290816 #5C1231 #8F1C4C #C22668

Accessibility & contrast

On white

13.24
#5C1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1231
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1231#FFFFFF#000000##FFFFFF
##5C12311.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#36352F
Tritanopia (blue-blind)
#64061F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1231;
/* rgb */ color: rgb(92, 18, 49);
/* oklch */ color: oklch(32.3% 0.109 0.1);
Tailwind
colors: {
  custom: {
    50: '#8e5868',
    500: '#5c1231',
    950: '#000000',
  },
}
SCSS
$custom: #5c1231;
$custom-light: #8e5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1231",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 334.865,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.1089,
    "h": 0.1
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#5C1231
secondary
#35946D
accent
#EAA23E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C1231

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

Preview Lab → · Contrast checker → · Palette generator →

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