#5C123B#5C123B

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

Color values

HEX#5C123B
RGBrgb(92, 18, 59)
HSLhsl(327, 67%, 22%)
HSVhsv(327, 80%, 36%)
CMYKcmyk(0%, 80.4%, 35.9%, 63.9%)
CIE-LABlab(20.14, 36.67, -6.50)
CIE-LCHlch(20.14, 37.24, 349.94°)
OKLaboklab(32.66% 0.1123 -0.0168)
OKLCHoklch(32.66% 0.114 351.5)
XYZxyz(5.4197, 3.0243, 4.4352)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C123B #125C33
analogous
#58125C #5C123B #5C1216
triadic
#5C123B #3B5C12 #123B5C
tetradic
#5C123B #5C5812 #125C33 #12165C
square
#5C123B #5C5812 #125C33 #12165C
split-complementary
#5C123B #165C12 #125C58
monochromatic
#1A0510 #29081A #5C123B #8F1C5C #C2267D

Accessibility & contrast

On white

13.09
#5C123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C123B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C123B#FFFFFF#000000##FFFFFF
##5C123B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#343539
Tritanopia (blue-blind)
#630C24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c123b;
/* rgb */ color: rgb(92, 18, 59);
/* oklch */ color: oklch(32.7% 0.114 351.5);
Tailwind
colors: {
  custom: {
    50: '#8e5870',
    500: '#5c123b',
    950: '#000000',
  },
}
SCSS
$custom: #5c123b;
$custom-light: #8e5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5c123b",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 326.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32657,
    "c": 0.11355,
    "h": 351.5
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5C123B
secondary
#359460
accent
#EA8B3E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C123B

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

Preview Lab → · Contrast checker → · Palette generator →

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