#5C0F3A#5C0F3A

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

Color values

HEX#5C0F3A
RGBrgb(92, 15, 58)
HSLhsl(326, 72%, 21%)
HSVhsv(326, 84%, 36%)
CMYKcmyk(0%, 83.7%, 37%, 63.9%)
CIE-LABlab(19.73, 37.58, -6.42)
CIE-LCHlch(19.73, 38.12, 350.31°)
OKLaboklab(32.35% 0.1153 -0.0166)
OKLCHoklch(32.35% 0.116 351.8)
XYZxyz(5.3485, 2.9231, 4.2847)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F3A #0F5C31
analogous
#570F5C #5C0F3A #5C0F13
triadic
#5C0F3A #3A5C0F #0F3A5C
tetradic
#5C0F3A #5C570F #0F5C31 #0F135C
square
#5C0F3A #5C570F #0F5C31 #0F135C
split-complementary
#5C0F3A #135C0F #0F5C57
monochromatic
#1A0411 #270619 #5C0F3A #91185B #C5207C

Accessibility & contrast

On white

13.25
#5C0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F3A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F3A#FFFFFF#000000##FFFFFF
##5C0F3A1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#640823
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f3a;
/* rgb */ color: rgb(92, 15, 58);
/* oklch */ color: oklch(32.3% 0.116 351.8);
Tailwind
colors: {
  custom: {
    50: '#8e5770',
    500: '#5c0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f3a;
$custom-light: #8e5770;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f3a",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 326.494,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.11647,
    "h": 351.8
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#5C0F3A
secondary
#31955E
accent
#EF8939
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5C0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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