#5C152E#5C152E

#5C152E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.104 H 3.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5C152E
RGBrgb(92, 21, 46)
HSLhsl(339, 63%, 22%)
HSVhsv(339, 77%, 36%)
CMYKcmyk(0%, 77.2%, 50%, 63.9%)
CIE-LABlab(20.08, 33.99, 2.53)
CIE-LCHlch(20.08, 34.08, 4.26°)
OKLaboklab(32.46% 0.104 0.0069)
OKLCHoklch(32.46% 0.104 3.8)
XYZxyz(5.1754, 3.0096, 2.8926)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C152E #155C43
analogous
#5C1552 #5C152E #5C1F15
triadic
#5C152E #2E5C15 #152E5C
tetradic
#5C152E #525C15 #155C43 #1F155C
square
#5C152E #525C15 #155C43 #1F155C
split-complementary
#5C152E #155C1F #15525C
monochromatic
#19060C #2A0A15 #5C152E #8E2047 #C02C60

Accessibility & contrast

On white

13.11
#5C152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C152E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C152E#FFFFFF#000000##FFFFFF
##5C152E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#65091F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c152e;
/* rgb */ color: rgb(92, 21, 46);
/* oklch */ color: oklch(32.5% 0.104 3.8);
Tailwind
colors: {
  custom: {
    50: '#8e5966',
    500: '#5c152e',
    950: '#000000',
  },
}
SCSS
$custom: #5c152e;
$custom-light: #8e5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5c152e",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 338.873,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.1042,
    "h": 3.8
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#5C152E
secondary
#399374
accent
#E6AC42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C152E

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

Preview Lab → · Contrast checker → · Palette generator →

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