#5C0F2A#5C0F2A

#5C0F2A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 5.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#5C0F2A
RGBrgb(92, 15, 42)
HSLhsl(339, 72%, 21%)
HSVhsv(339, 84%, 36%)
CMYKcmyk(0%, 83.7%, 54.3%, 63.9%)
CIE-LABlab(19.16, 35.83, 4.05)
CIE-LCHlch(19.16, 36.06, 6.45°)
OKLaboklab(31.74% 0.1095 0.0106)
OKLCHoklch(31.74% 0.11 5.5)
XYZxyz(5.0028, 2.7848, 2.4641)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F2A #0F5C41
analogous
#5C0F50 #5C0F2A #5C1A0F
triadic
#5C0F2A #2A5C0F #0F2A5C
tetradic
#5C0F2A #505C0F #0F5C41 #1A0F5C
square
#5C0F2A #505C0F #0F5C41 #1A0F5C
split-complementary
#5C0F2A #0F5C1A #0F505C
monochromatic
#1A040C #270612 #5C0F2A #911842 #C5205A

Accessibility & contrast

On white

13.49
#5C0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F2A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F2A#FFFFFF#000000##FFFFFF
##5C0F2A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#65001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f2a;
/* rgb */ color: rgb(92, 15, 42);
/* oklch */ color: oklch(31.7% 0.110 5.5);
Tailwind
colors: {
  custom: {
    50: '#8f5663',
    500: '#5c0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f2a;
$custom-light: #8f5663;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f2a",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 338.961,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.11003,
    "h": 5.5
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#5C0F2A
secondary
#319572
accent
#EFAF39
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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