#5C0F45#5C0F45

#5C0F45 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.9% C 0.123 H 343.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5C0F45
RGBrgb(92, 15, 69)
HSLhsl(318, 72%, 21%)
HSVhsv(318, 84%, 36%)
CMYKcmyk(0%, 83.7%, 25%, 63.9%)
CIE-LABlab(20.23, 39.07, -13.30)
CIE-LCHlch(20.23, 41.27, 341.21°)
OKLaboklab(32.87% 0.1179 -0.0356)
OKLCHoklch(32.87% 0.123 343.2)
XYZxyz(5.6589, 3.0472, 5.9192)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F45 #0F5C26
analogous
#4C0F5C #5C0F45 #5C0F1E
triadic
#5C0F45 #455C0F #0F455C
tetradic
#5C0F45 #5C4C0F #0F5C26 #0F1E5C
square
#5C0F45 #5C4C0F #0F5C26 #0F1E5C
split-complementary
#5C0F45 #1E5C0F #0F5C4C
monochromatic
#1A0414 #27061E #5C0F45 #91186C #C52094

Accessibility & contrast

On white

13.05
#5C0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F45
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F45#FFFFFF#000000##FFFFFF
##5C0F451.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#303543
Tritanopia (blue-blind)
#620F29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f45;
/* rgb */ color: rgb(92, 15, 69);
/* oklch */ color: oklch(32.9% 0.123 343.2);
Tailwind
colors: {
  custom: {
    50: '#8d5778',
    500: '#5c0f45',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f45;
$custom-light: #8d5778;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f45",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 317.922,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32871,
    "c": 0.12318,
    "h": 343.2
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#5C0F45
secondary
#31954F
accent
#EF6F39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5C0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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