#5C123D#5C123D

#5C123D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.115 H 349.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5C123D
RGBrgb(92, 18, 61)
HSLhsl(325, 67%, 22%)
HSVhsv(325, 80%, 36%)
CMYKcmyk(0%, 80.4%, 33.7%, 63.9%)
CIE-LABlab(20.23, 36.93, -7.77)
CIE-LCHlch(20.23, 37.74, 348.12°)
OKLaboklab(32.75% 0.1129 -0.0203)
OKLCHoklch(32.75% 0.115 349.8)
XYZxyz(5.4725, 3.0455, 4.7136)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C123D #125C31
analogous
#56125C #5C123D #5C1218
triadic
#5C123D #3D5C12 #123D5C
tetradic
#5C123D #5C5612 #125C31 #12185C
square
#5C123D #5C5612 #125C31 #12185C
split-complementary
#5C123D #185C12 #125C56
monochromatic
#1A0511 #29081B #5C123D #8F1C5F #C22681

Accessibility & contrast

On white

13.05
#5C123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C123D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C123D#FFFFFF#000000##FFFFFF
##5C123D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#34363B
Tritanopia (blue-blind)
#630D25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c123d;
/* rgb */ color: rgb(92, 18, 61);
/* oklch */ color: oklch(32.7% 0.115 349.8);
Tailwind
colors: {
  custom: {
    50: '#8e5872',
    500: '#5c123d',
    950: '#000000',
  },
}
SCSS
$custom: #5c123d;
$custom-light: #8e5872;
$custom-dark: #000000;
JSON
{
  "hex": "#5c123d",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 325.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.11468,
    "h": 349.8
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#5C123D
secondary
#35945D
accent
#EA863E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C123D

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

Preview Lab → · Contrast checker → · Palette generator →

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