#5C0F34#5C0F34

#5C0F34 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.114 H 356.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5C0F34
RGBrgb(92, 15, 52)
HSLhsl(331, 72%, 21%)
HSVhsv(331, 84%, 36%)
CMYKcmyk(0%, 83.7%, 43.5%, 63.9%)
CIE-LABlab(19.50, 36.86, -2.55)
CIE-LCHlch(19.50, 36.95, 356.04°)
OKLaboklab(32.1% 0.1134 -0.0062)
OKLCHoklch(32.1% 0.114 356.8)
XYZxyz(5.2047, 2.8656, 3.5272)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F34 #0F5C37
analogous
#5C0F5A #5C0F34 #5C100F
triadic
#5C0F34 #345C0F #0F345C
tetradic
#5C0F34 #5A5C0F #0F5C37 #100F5C
square
#5C0F34 #5A5C0F #0F5C37 #100F5C
split-complementary
#5C0F34 #0F5C10 #0F5A5C
monochromatic
#1A040F #270616 #5C0F34 #911852 #C5206F

Accessibility & contrast

On white

13.35
#5C0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C0F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F34
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F34#FFFFFF#000000##FFFFFF
##5C0F341.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202635
Deuteranopia (green-blind)
#353432
Tritanopia (blue-blind)
#640420
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f34;
/* rgb */ color: rgb(92, 15, 52);
/* oklch */ color: oklch(32.1% 0.114 356.8);
Tailwind
colors: {
  custom: {
    50: '#8e576b',
    500: '#5c0f34',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f34;
$custom-light: #8e576b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f34",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 331.169,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32097,
    "c": 0.11353,
    "h": 356.8
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#5C0F34
secondary
#319565
accent
#EF9739
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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