#5C0F29#5C0F29

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

Color values

HEX#5C0F29
RGBrgb(92, 15, 41)
HSLhsl(340, 72%, 21%)
HSVhsv(340, 84%, 36%)
CMYKcmyk(0%, 83.7%, 55.4%, 63.9%)
CIE-LABlab(19.13, 35.73, 4.72)
CIE-LCHlch(19.13, 36.04, 7.53°)
OKLaboklab(31.71% 0.1091 0.0123)
OKLCHoklch(31.71% 0.11 6.4)
XYZxyz(4.9851, 2.7778, 2.3710)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F29 #0F5C42
analogous
#5C0F4F #5C0F29 #5C1B0F
triadic
#5C0F29 #295C0F #0F295C
tetradic
#5C0F29 #4F5C0F #0F5C42 #1B0F5C
square
#5C0F29 #4F5C0F #0F5C42 #1B0F5C
split-complementary
#5C0F29 #0F5C1B #0F4F5C
monochromatic
#1A040C #270612 #5C0F29 #911840 #C52058

Accessibility & contrast

On white

13.50
#5C0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F29
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F29#FFFFFF#000000##FFFFFF
##5C0F291.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0f29;
/* rgb */ color: rgb(92, 15, 41);
/* oklch */ color: oklch(31.7% 0.110 6.4);
Tailwind
colors: {
  custom: {
    50: '#8f5662',
    500: '#5c0f29',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f29;
$custom-light: #8f5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f29",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 339.74,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31708,
    "c": 0.10979,
    "h": 6.4
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#5C0F29
secondary
#319574
accent
#EFB139
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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