#5C0F40#5C0F40

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

Color values

HEX#5C0F40
RGBrgb(92, 15, 64)
HSLhsl(322, 72%, 21%)
HSVhsv(322, 84%, 36%)
CMYKcmyk(0%, 83.7%, 30.4%, 63.9%)
CIE-LABlab(20.00, 38.36, -10.20)
CIE-LCHlch(20.00, 39.70, 345.11°)
OKLaboklab(32.62% 0.1169 -0.027)
OKLCHoklch(32.62% 0.12 347)
XYZxyz(5.5101, 2.9878, 5.1360)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F40 #0F5C2B
analogous
#510F5C #5C0F40 #5C0F19
triadic
#5C0F40 #405C0F #0F405C
tetradic
#5C0F40 #5C510F #0F5C2B #0F195C
square
#5C0F40 #5C510F #0F5C2B #0F195C
split-complementary
#5C0F40 #195C0F #0F5C51
monochromatic
#1A0412 #27061B #5C0F40 #911865 #C52089

Accessibility & contrast

On white

13.15
#5C0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F40
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F40#FFFFFF#000000##FFFFFF
##5C0F401.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#630C26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f40;
/* rgb */ color: rgb(92, 15, 64);
/* oklch */ color: oklch(32.6% 0.120 347.0);
Tailwind
colors: {
  custom: {
    50: '#8e5774',
    500: '#5c0f40',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f40;
$custom-light: #8e5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f40",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 321.818,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.11994,
    "h": 347
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#5C0F40
secondary
#319556
accent
#EF7B39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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