#5C152C#5C152C

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

Color values

HEX#5C152C
RGBrgb(92, 21, 44)
HSLhsl(341, 63%, 22%)
HSVhsv(341, 77%, 36%)
CMYKcmyk(0%, 77.2%, 52.2%, 63.9%)
CIE-LABlab(20.02, 33.78, 3.86)
CIE-LCHlch(20.02, 34.00, 6.51°)
OKLaboklab(32.39% 0.1032 0.0102)
OKLCHoklch(32.39% 0.104 5.6)
XYZxyz(5.1368, 2.9942, 2.6898)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C152C #155C45
analogous
#5C1550 #5C152C #5C2115
triadic
#5C152C #2C5C15 #152C5C
tetradic
#5C152C #505C15 #155C45 #21155C
square
#5C152C #505C15 #155C45 #21155C
split-complementary
#5C152C #155C21 #15505C
monochromatic
#19060C #2A0A14 #5C152C #8E2044 #C02C5C

Accessibility & contrast

On white

13.14
#5C152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C152C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C152C#FFFFFF#000000##FFFFFF
##5C152C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272D
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#65081F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c152c;
/* rgb */ color: rgb(92, 21, 44);
/* oklch */ color: oklch(32.4% 0.104 5.6);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5c152c',
    950: '#000000',
  },
}
SCSS
$custom: #5c152c;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5c152c",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 340.563,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32394,
    "c": 0.10365,
    "h": 5.6
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#5C152C
secondary
#399376
accent
#E6B142
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C152C

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

Preview Lab → · Contrast checker → · Palette generator →

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