#5C0F2C#5C0F2C

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

Color values

HEX#5C0F2C
RGBrgb(92, 15, 44)
HSLhsl(337, 72%, 21%)
HSVhsv(337, 84%, 36%)
CMYKcmyk(0%, 83.7%, 52.2%, 63.9%)
CIE-LABlab(19.22, 36.02, 2.71)
CIE-LCHlch(19.22, 36.12, 4.31°)
OKLaboklab(31.81% 0.1103 0.0073)
OKLCHoklch(31.81% 0.111 3.8)
XYZxyz(5.0395, 2.7995, 2.6574)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F2C #0F5C3F
analogous
#5C0F52 #5C0F2C #5C180F
triadic
#5C0F2C #2C5C0F #0F2C5C
tetradic
#5C0F2C #525C0F #0F5C3F #180F5C
square
#5C0F2C #525C0F #0F5C3F #180F5C
split-complementary
#5C0F2C #0F5C18 #0F525C
monochromatic
#1A040D #270613 #5C0F2C #911845 #C5205E

Accessibility & contrast

On white

13.46
#5C0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F2C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F2C#FFFFFF#000000##FFFFFF
##5C0F2C1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252D
Deuteranopia (green-blind)
#37342A
Tritanopia (blue-blind)
#65001C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f2c;
/* rgb */ color: rgb(92, 15, 44);
/* oklch */ color: oklch(31.8% 0.111 3.8);
Tailwind
colors: {
  custom: {
    50: '#8f5664',
    500: '#5c0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f2c;
$custom-light: #8f5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f2c",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 337.403,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31805,
    "c": 0.11058,
    "h": 3.8
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#5C0F2C
secondary
#319570
accent
#EFAA39
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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