#5C152D#5C152D

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

Color values

HEX#5C152D
RGBrgb(92, 21, 45)
HSLhsl(340, 63%, 22%)
HSVhsv(340, 77%, 36%)
CMYKcmyk(0%, 77.2%, 51.1%, 63.9%)
CIE-LABlab(20.05, 33.88, 3.19)
CIE-LCHlch(20.05, 34.03, 5.39°)
OKLaboklab(32.43% 0.1036 0.0085)
OKLCHoklch(32.43% 0.104 4.7)
XYZxyz(5.1559, 3.0018, 2.7900)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C152D #155C44
analogous
#5C1551 #5C152D #5C2015
triadic
#5C152D #2D5C15 #152D5C
tetradic
#5C152D #515C15 #155C44 #20155C
square
#5C152D #515C15 #155C44 #20155C
split-complementary
#5C152D #155C20 #15515C
monochromatic
#19060C #2A0A15 #5C152D #8E2045 #C02C5E

Accessibility & contrast

On white

13.12
#5C152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C152D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C152D#FFFFFF#000000##FFFFFF
##5C152D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282E
Deuteranopia (green-blind)
#38362B
Tritanopia (blue-blind)
#65081F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c152d;
/* rgb */ color: rgb(92, 21, 45);
/* oklch */ color: oklch(32.4% 0.104 4.7);
Tailwind
colors: {
  custom: {
    50: '#8e5965',
    500: '#5c152d',
    950: '#000000',
  },
}
SCSS
$custom: #5c152d;
$custom-light: #8e5965;
$custom-dark: #000000;
JSON
{
  "hex": "#5c152d",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 339.718,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.10391,
    "h": 4.7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#5C152D
secondary
#399375
accent
#E6AE42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C152D

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

Preview Lab → · Contrast checker → · Palette generator →

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