#5C1233#5C1233

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

Color values

HEX#5C1233
RGBrgb(92, 18, 51)
HSLhsl(333, 67%, 22%)
HSVhsv(333, 80%, 36%)
CMYKcmyk(0%, 80.4%, 44.6%, 63.9%)
CIE-LABlab(19.83, 35.70, -1.35)
CIE-LCHlch(19.83, 35.73, 357.83°)
OKLaboklab(32.33% 0.1096 -0.0031)
OKLCHoklch(32.33% 0.11 358.4)
XYZxyz(5.2279, 2.9476, 3.4250)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1233 #125C3B
analogous
#5C1258 #5C1233 #5C1612
triadic
#5C1233 #335C12 #12335C
tetradic
#5C1233 #585C12 #125C3B #16125C
square
#5C1233 #585C12 #125C3B #16125C
split-complementary
#5C1233 #125C16 #12585C
monochromatic
#1A050E #290817 #5C1233 #8F1C4F #C2266C

Accessibility & contrast

On white

13.21
#5C1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1233
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1233#FFFFFF#000000##FFFFFF
##5C12331.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#363531
Tritanopia (blue-blind)
#640720
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1233;
/* rgb */ color: rgb(92, 18, 51);
/* oklch */ color: oklch(32.3% 0.110 358.4);
Tailwind
colors: {
  custom: {
    50: '#8e586a',
    500: '#5c1233',
    950: '#000000',
  },
}
SCSS
$custom: #5c1233;
$custom-light: #8e586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1233",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 333.243,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32331,
    "c": 0.10968,
    "h": 358.4
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#5C1233
secondary
#35946A
accent
#EA9D3E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C1233

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

Preview Lab → · Contrast checker → · Palette generator →

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