#5C123F#5C123F

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

Color values

HEX#5C123F
RGBrgb(92, 18, 63)
HSLhsl(324, 67%, 22%)
HSVhsv(324, 80%, 36%)
CMYKcmyk(0%, 80.4%, 31.5%, 63.9%)
CIE-LABlab(20.31, 37.20, -9.03)
CIE-LCHlch(20.31, 38.28, 346.36°)
OKLaboklab(32.84% 0.1134 -0.0237)
OKLCHoklch(32.84% 0.116 348.2)
XYZxyz(5.5274, 3.0674, 5.0026)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C123F #125C2F
analogous
#54125C #5C123F #5C121A
triadic
#5C123F #3F5C12 #123F5C
tetradic
#5C123F #5C5412 #125C2F #121A5C
square
#5C123F #5C5412 #125C2F #121A5C
split-complementary
#5C123F #1A5C12 #125C54
monochromatic
#1A0512 #29081C #5C123F #8F1C62 #C22685

Accessibility & contrast

On white

13.02
#5C123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C123F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C123F#FFFFFF#000000##FFFFFF
##5C123F1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c123f;
/* rgb */ color: rgb(92, 18, 63);
/* oklch */ color: oklch(32.8% 0.116 348.2);
Tailwind
colors: {
  custom: {
    50: '#8d5874',
    500: '#5c123f',
    950: '#000000',
  },
}
SCSS
$custom: #5c123f;
$custom-light: #8d5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5c123f",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 323.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.11587,
    "h": 348.2
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#5C123F
secondary
#35945B
accent
#EA813E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C123F

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

Preview Lab → · Contrast checker → · Palette generator →

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