#5C0F2F#5C0F2F

#5C0F2F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 1.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#5C0F2F
RGBrgb(92, 15, 47)
HSLhsl(335, 72%, 21%)
HSVhsv(335, 84%, 36%)
CMYKcmyk(0%, 83.7%, 48.9%, 63.9%)
CIE-LABlab(19.32, 36.32, 0.72)
CIE-LCHlch(19.32, 36.33, 1.14°)
OKLaboklab(31.91% 0.1115 0.0023)
OKLCHoklch(31.91% 0.112 1.2)
XYZxyz(5.0980, 2.8229, 2.9652)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F2F #0F5C3C
analogous
#5C0F55 #5C0F2F #5C150F
triadic
#5C0F2F #2F5C0F #0F2F5C
tetradic
#5C0F2F #555C0F #0F5C3C #150F5C
square
#5C0F2F #555C0F #0F5C3C #150F5C
split-complementary
#5C0F2F #0F5C15 #0F555C
monochromatic
#1A040D #270614 #5C0F2F #91184A #C52065

Accessibility & contrast

On white

13.42
#5C0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F2F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F2F#FFFFFF#000000##FFFFFF
##5C0F2F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#65011D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f2f;
/* rgb */ color: rgb(92, 15, 47);
/* oklch */ color: oklch(31.9% 0.112 1.2);
Tailwind
colors: {
  custom: {
    50: '#8e5767',
    500: '#5c0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f2f;
$custom-light: #8e5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f2f",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 335.065,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31909,
    "c": 0.11155,
    "h": 1.2
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#5C0F2F
secondary
#31956C
accent
#EFA339
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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