#5C0F27#5C0F27

#5C0F27 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.109 H 8.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#5C0F27
RGBrgb(92, 15, 39)
HSLhsl(341, 72%, 21%)
HSVhsv(341, 84%, 36%)
CMYKcmyk(0%, 83.7%, 57.6%, 63.9%)
CIE-LABlab(19.07, 35.56, 6.06)
CIE-LCHlch(19.07, 36.07, 9.68°)
OKLaboklab(31.65% 0.1083 0.0155)
OKLCHoklch(31.65% 0.109 8.2)
XYZxyz(4.9511, 2.7641, 2.1919)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F27 #0F5C44
analogous
#5C0F4D #5C0F27 #5C1D0F
triadic
#5C0F27 #275C0F #0F275C
tetradic
#5C0F27 #4D5C0F #0F5C44 #1D0F5C
square
#5C0F27 #4D5C0F #0F5C44 #1D0F5C
split-complementary
#5C0F27 #0F5C1D #0F4D5C
monochromatic
#1A040B #270611 #5C0F27 #91183D #C52054

Accessibility & contrast

On white

13.53
#5C0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C0F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F27
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F27#FFFFFF#000000##FFFFFF
##5C0F271.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#373425
Tritanopia (blue-blind)
#650019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f27;
/* rgb */ color: rgb(92, 15, 39);
/* oklch */ color: oklch(31.6% 0.109 8.2);
Tailwind
colors: {
  custom: {
    50: '#8f5660',
    500: '#5c0f27',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f27;
$custom-light: #8f5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f27",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 341.299,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31647,
    "c": 0.10936,
    "h": 8.2
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#5C0F27
secondary
#319576
accent
#EFB639
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0F27

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

Preview Lab → · Contrast checker → · Palette generator →

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