#5C0F3B#5C0F3B

#5C0F3B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.117 H 351.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5C0F3B
RGBrgb(92, 15, 59)
HSLhsl(326, 72%, 21%)
HSVhsv(326, 84%, 36%)
CMYKcmyk(0%, 83.7%, 35.9%, 63.9%)
CIE-LABlab(19.78, 37.71, -7.05)
CIE-LCHlch(19.78, 38.36, 349.40°)
OKLaboklab(32.39% 0.1156 -0.0183)
OKLCHoklch(32.39% 0.117 351)
XYZxyz(5.3742, 2.9334, 4.4200)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F3B #0F5C30
analogous
#560F5C #5C0F3B #5C0F14
triadic
#5C0F3B #3B5C0F #0F3B5C
tetradic
#5C0F3B #5C560F #0F5C30 #0F145C
square
#5C0F3B #5C560F #0F5C30 #0F145C
split-complementary
#5C0F3B #145C0F #0F5C56
monochromatic
#1A0411 #270619 #5C0F3B #91185D #C5207E

Accessibility & contrast

On white

13.24
#5C0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C0F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F3B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F3B#FFFFFF#000000##FFFFFF
##5C0F3B1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#333539
Tritanopia (blue-blind)
#640823
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f3b;
/* rgb */ color: rgb(92, 15, 59);
/* oklch */ color: oklch(32.4% 0.117 351.0);
Tailwind
colors: {
  custom: {
    50: '#8e5770',
    500: '#5c0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f3b;
$custom-light: #8e5770;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f3b",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 325.714,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.11701,
    "h": 351
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#5C0F3B
secondary
#31955C
accent
#EF8739
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5C0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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