#5C123E#5C123E

#5C123E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.115 H 349.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5C123E
RGBrgb(92, 18, 62)
HSLhsl(324, 67%, 22%)
HSVhsv(324, 80%, 36%)
CMYKcmyk(0%, 80.4%, 32.6%, 63.9%)
CIE-LABlab(20.27, 37.06, -8.40)
CIE-LCHlch(20.27, 38.00, 347.23°)
OKLaboklab(32.79% 0.1131 -0.022)
OKLCHoklch(32.79% 0.115 349)
XYZxyz(5.4997, 3.0564, 4.8568)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C123E #125C30
analogous
#55125C #5C123E #5C1219
triadic
#5C123E #3E5C12 #123E5C
tetradic
#5C123E #5C5512 #125C30 #12195C
square
#5C123E #5C5512 #125C30 #12195C
split-complementary
#5C123E #195C12 #125C55
monochromatic
#1A0511 #29081C #5C123E #8F1C60 #C22683

Accessibility & contrast

On white

13.03
#5C123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C123E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C123E#FFFFFF#000000##FFFFFF
##5C123E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#33363C
Tritanopia (blue-blind)
#630E26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c123e;
/* rgb */ color: rgb(92, 18, 62);
/* oklch */ color: oklch(32.8% 0.115 349.0);
Tailwind
colors: {
  custom: {
    50: '#8e5873',
    500: '#5c123e',
    950: '#000000',
  },
}
SCSS
$custom: #5c123e;
$custom-light: #8e5873;
$custom-dark: #000000;
JSON
{
  "hex": "#5c123e",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 324.324,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.11526,
    "h": 349
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#5C123E
secondary
#35945C
accent
#EA843E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C123E

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

Preview Lab → · Contrast checker → · Palette generator →

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