#5C0F2D#5C0F2D

#5C0F2D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.111 H 2.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#5C0F2D
RGBrgb(92, 15, 45)
HSLhsl(337, 72%, 21%)
HSVhsv(337, 84%, 36%)
CMYKcmyk(0%, 83.7%, 51.1%, 63.9%)
CIE-LABlab(19.25, 36.12, 2.05)
CIE-LCHlch(19.25, 36.18, 3.25°)
OKLaboklab(31.84% 0.1107 0.0056)
OKLCHoklch(31.84% 0.111 2.9)
XYZxyz(5.0585, 2.8071, 2.7576)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F2D #0F5C3E
analogous
#5C0F53 #5C0F2D #5C170F
triadic
#5C0F2D #2D5C0F #0F2D5C
tetradic
#5C0F2D #535C0F #0F5C3E #170F5C
square
#5C0F2D #535C0F #0F5C3E #170F5C
split-complementary
#5C0F2D #0F5C17 #0F535C
monochromatic
#1A040D #270613 #5C0F2D #911847 #C52060

Accessibility & contrast

On white

13.45
#5C0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C0F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F2D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F2D#FFFFFF#000000##FFFFFF
##5C0F2D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#65001C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f2d;
/* rgb */ color: rgb(92, 15, 45);
/* oklch */ color: oklch(31.8% 0.111 2.9);
Tailwind
colors: {
  custom: {
    50: '#8f5665',
    500: '#5c0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f2d;
$custom-light: #8f5665;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f2d",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 336.623,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.11088,
    "h": 2.9
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#5C0F2D
secondary
#31956E
accent
#EFA839
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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