#5C0F3C#5C0F3C

#5C0F3C is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.118 H 350.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5C0F3C
RGBrgb(92, 15, 60)
HSLhsl(325, 72%, 21%)
HSVhsv(325, 84%, 36%)
CMYKcmyk(0%, 83.7%, 34.8%, 63.9%)
CIE-LABlab(19.82, 37.83, -7.69)
CIE-LCHlch(19.82, 38.61, 348.51°)
OKLaboklab(32.44% 0.1159 -0.02)
OKLCHoklch(32.44% 0.118 350.2)
XYZxyz(5.4004, 2.9438, 4.5579)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F3C #0F5C2F
analogous
#550F5C #5C0F3C #5C0F15
triadic
#5C0F3C #3C5C0F #0F3C5C
tetradic
#5C0F3C #5C550F #0F5C2F #0F155C
square
#5C0F3C #5C550F #0F5C2F #0F155C
split-complementary
#5C0F3C #155C0F #0F5C55
monochromatic
#1A0411 #27061A #5C0F3C #91185E #C52081

Accessibility & contrast

On white

13.22
#5C0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F3C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F3C#FFFFFF#000000##FFFFFF
##5C0F3C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#33353A
Tritanopia (blue-blind)
#630924
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f3c;
/* rgb */ color: rgb(92, 15, 60);
/* oklch */ color: oklch(32.4% 0.118 350.2);
Tailwind
colors: {
  custom: {
    50: '#8e5771',
    500: '#5c0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f3c;
$custom-light: #8e5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f3c",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 324.935,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32435,
    "c": 0.11757,
    "h": 350.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#5C0F3C
secondary
#31955B
accent
#EF8539
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5C0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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