#5C123C#5C123C

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

Color values

HEX#5C123C
RGBrgb(92, 18, 60)
HSLhsl(326, 67%, 22%)
HSVhsv(326, 80%, 36%)
CMYKcmyk(0%, 80.4%, 34.8%, 63.9%)
CIE-LABlab(20.18, 36.80, -7.14)
CIE-LCHlch(20.18, 37.48, 349.02°)
OKLaboklab(32.7% 0.1126 -0.0186)
OKLCHoklch(32.7% 0.114 350.6)
XYZxyz(5.4459, 3.0348, 4.5731)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C123C #125C32
analogous
#57125C #5C123C #5C1217
triadic
#5C123C #3C5C12 #123C5C
tetradic
#5C123C #5C5712 #125C32 #12175C
square
#5C123C #5C5712 #125C32 #12175C
split-complementary
#5C123C #175C12 #125C57
monochromatic
#1A0511 #29081B #5C123C #8F1C5D #C2267F

Accessibility & contrast

On white

13.07
#5C123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C123C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C123C#FFFFFF#000000##FFFFFF
##5C123C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#34353A
Tritanopia (blue-blind)
#630D25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c123c;
/* rgb */ color: rgb(92, 18, 60);
/* oklch */ color: oklch(32.7% 0.114 350.6);
Tailwind
colors: {
  custom: {
    50: '#8e5871',
    500: '#5c123c',
    950: '#000000',
  },
}
SCSS
$custom: #5c123c;
$custom-light: #8e5871;
$custom-dark: #000000;
JSON
{
  "hex": "#5c123c",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 325.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32701,
    "c": 0.11411,
    "h": 350.6
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#5C123C
secondary
#35945E
accent
#EA883E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C123C

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

Preview Lab → · Contrast checker → · Palette generator →

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