#5C0F33#5C0F33

#5C0F33 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.113 H 357.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5C0F33
RGBrgb(92, 15, 51)
HSLhsl(332, 72%, 21%)
HSVhsv(332, 84%, 36%)
CMYKcmyk(0%, 83.7%, 44.6%, 63.9%)
CIE-LABlab(19.46, 36.75, -1.90)
CIE-LCHlch(19.46, 36.80, 357.04°)
OKLaboklab(32.06% 0.113 -0.0045)
OKLCHoklch(32.06% 0.113 357.7)
XYZxyz(5.1824, 2.8566, 3.4098)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F33 #0F5C38
analogous
#5C0F59 #5C0F33 #5C110F
triadic
#5C0F33 #335C0F #0F335C
tetradic
#5C0F33 #595C0F #0F5C38 #110F5C
square
#5C0F33 #595C0F #0F5C38 #110F5C
split-complementary
#5C0F33 #0F5C11 #0F595C
monochromatic
#1A040F #270616 #5C0F33 #911850 #C5206D

Accessibility & contrast

On white

13.37
#5C0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F33
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F33#FFFFFF#000000##FFFFFF
##5C0F331.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#353431
Tritanopia (blue-blind)
#64031F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f33;
/* rgb */ color: rgb(92, 15, 51);
/* oklch */ color: oklch(32.1% 0.113 357.7);
Tailwind
colors: {
  custom: {
    50: '#8e576a',
    500: '#5c0f33',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f33;
$custom-light: #8e576a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f33",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 331.948,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.1131,
    "h": 357.7
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#5C0F33
secondary
#319567
accent
#EF9A39
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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