#5C1229#5C1229

#5C1229 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 7.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5C1229
RGBrgb(92, 18, 41)
HSLhsl(341, 67%, 22%)
HSVhsv(341, 80%, 36%)
CMYKcmyk(0%, 80.4%, 55.4%, 63.9%)
CIE-LABlab(19.51, 34.67, 5.26)
CIE-LCHlch(19.51, 35.06, 8.62°)
OKLaboklab(31.99% 0.1057 0.0136)
OKLCHoklch(31.99% 0.107 7.3)
XYZxyz(5.0306, 2.8687, 2.3862)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1229 #125C45
analogous
#5C124E #5C1229 #5C2012
triadic
#5C1229 #295C12 #12295C
tetradic
#5C1229 #4E5C12 #125C45 #20125C
square
#5C1229 #4E5C12 #125C45 #20125C
split-complementary
#5C1229 #125C20 #124E5C
monochromatic
#1A050B #290812 #5C1229 #8F1C40 #C22657

Accessibility & contrast

On white

13.35
#5C1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C1229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1229
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1229#FFFFFF#000000##FFFFFF
##5C12291.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252629
Deuteranopia (green-blind)
#383527
Tritanopia (blue-blind)
#65021C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1229;
/* rgb */ color: rgb(92, 18, 41);
/* oklch */ color: oklch(32.0% 0.107 7.3);
Tailwind
colors: {
  custom: {
    50: '#8f5862',
    500: '#5c1229',
    950: '#000000',
  },
}
SCSS
$custom: #5c1229;
$custom-light: #8f5862;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1229",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 341.351,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.10653,
    "h": 7.3
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#5C1229
secondary
#359477
accent
#EAB53E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1229

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

Preview Lab → · Contrast checker → · Palette generator →

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