#5C0F46#5C0F46

#5C0F46 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 32.9% C 0.124 H 342.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5C0F46
RGBrgb(92, 15, 70)
HSLhsl(317, 72%, 21%)
HSVhsv(317, 84%, 36%)
CMYKcmyk(0%, 83.7%, 23.9%, 63.9%)
CIE-LABlab(20.28, 39.21, -13.91)
CIE-LCHlch(20.28, 41.60, 340.47°)
OKLaboklab(32.92% 0.1181 -0.0373)
OKLCHoklch(32.92% 0.124 342.5)
XYZxyz(5.6902, 3.0598, 6.0841)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F46 #0F5C25
analogous
#4B0F5C #5C0F46 #5C0F1F
triadic
#5C0F46 #465C0F #0F465C
tetradic
#5C0F46 #5C4B0F #0F5C25 #0F1F5C
square
#5C0F46 #5C4B0F #0F5C25 #0F1F5C
split-complementary
#5C0F46 #1F5C0F #0F5C4B
monochromatic
#1A0414 #27061E #5C0F46 #91186E #C52096

Accessibility & contrast

On white

13.03
#5C0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F46
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F46#FFFFFF#000000##FFFFFF
##5C0F461.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#303544
Tritanopia (blue-blind)
#621029
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f46;
/* rgb */ color: rgb(92, 15, 70);
/* oklch */ color: oklch(32.9% 0.124 342.5);
Tailwind
colors: {
  custom: {
    50: '#8d5779',
    500: '#5c0f46',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f46;
$custom-light: #8d5779;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f46",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 317.143,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.12386,
    "h": 342.5
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#5C0F46
secondary
#31954E
accent
#EF6D39
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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