#5C0F38#5C0F38

#5C0F38 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 353.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5C0F38
RGBrgb(92, 15, 56)
HSLhsl(328, 72%, 21%)
HSVhsv(328, 84%, 36%)
CMYKcmyk(0%, 83.7%, 39.1%, 63.9%)
CIE-LABlab(19.65, 37.33, -5.14)
CIE-LCHlch(19.65, 37.69, 352.16°)
OKLaboklab(32.26% 0.1147 -0.0131)
OKLCHoklch(32.26% 0.115 353.5)
XYZxyz(5.2986, 2.9031, 4.0219)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F38 #0F5C33
analogous
#590F5C #5C0F38 #5C0F11
triadic
#5C0F38 #385C0F #0F385C
tetradic
#5C0F38 #5C590F #0F5C33 #0F115C
square
#5C0F38 #5C590F #0F5C33 #0F115C
split-complementary
#5C0F38 #115C0F #0F5C59
monochromatic
#1A0410 #270618 #5C0F38 #911858 #C52078

Accessibility & contrast

On white

13.29
#5C0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5C0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F38
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F38#FFFFFF#000000##FFFFFF
##5C0F381.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2739
Deuteranopia (green-blind)
#343536
Tritanopia (blue-blind)
#640622
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f38;
/* rgb */ color: rgb(92, 15, 56);
/* oklch */ color: oklch(32.3% 0.115 353.5);
Tailwind
colors: {
  custom: {
    50: '#8e576e',
    500: '#5c0f38',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f38;
$custom-light: #8e576e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f38",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 328.052,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3226,
    "c": 0.11542,
    "h": 353.5
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#5C0F38
secondary
#319560
accent
#EF8E39
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5C0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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