#5C0F3F#5C0F3F

#5C0F3F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.119 H 347.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5C0F3F
RGBrgb(92, 15, 63)
HSLhsl(323, 72%, 21%)
HSVhsv(323, 84%, 36%)
CMYKcmyk(0%, 83.7%, 31.5%, 63.9%)
CIE-LABlab(19.95, 38.23, -9.58)
CIE-LCHlch(19.95, 39.41, 345.93°)
OKLaboklab(32.57% 0.1166 -0.0252)
OKLCHoklch(32.57% 0.119 347.8)
XYZxyz(5.4819, 2.9765, 4.9875)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F3F #0F5C2C
analogous
#520F5C #5C0F3F #5C0F18
triadic
#5C0F3F #3F5C0F #0F3F5C
tetradic
#5C0F3F #5C520F #0F5C2C #0F185C
square
#5C0F3F #5C520F #0F5C2C #0F185C
split-complementary
#5C0F3F #185C0F #0F5C52
monochromatic
#1A0412 #27061B #5C0F3F #911863 #C52087

Accessibility & contrast

On white

13.16
#5C0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F3F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F3F#FFFFFF#000000##FFFFFF
##5C0F3F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#32353D
Tritanopia (blue-blind)
#630B25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f3f;
/* rgb */ color: rgb(92, 15, 63);
/* oklch */ color: oklch(32.6% 0.119 347.8);
Tailwind
colors: {
  custom: {
    50: '#8e5774',
    500: '#5c0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f3f;
$custom-light: #8e5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f3f",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 322.597,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.11933,
    "h": 347.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#5C0F3F
secondary
#319557
accent
#EF7D39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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