#5C0E28#5C0E28

#5C0E28 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.111 H 7.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5C0E28
RGBrgb(92, 14, 40)
HSLhsl(340, 74%, 21%)
HSVhsv(340, 85%, 36%)
CMYKcmyk(0%, 84.8%, 56.5%, 63.9%)
CIE-LABlab(18.98, 35.97, 5.23)
CIE-LCHlch(18.98, 36.35, 8.27°)
OKLaboklab(31.59% 0.1098 0.0135)
OKLCHoklch(31.59% 0.111 7)
XYZxyz(4.9541, 2.7433, 2.2757)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E28 #0E5C42
analogous
#5C0E4F #5C0E28 #5C1B0E
triadic
#5C0E28 #285C0E #0E285C
tetradic
#5C0E28 #4F5C0E #0E5C42 #1B0E5C
square
#5C0E28 #4F5C0E #0E5C42 #1B0E5C
split-complementary
#5C0E28 #0E5C1B #0E4F5C
monochromatic
#1B040C #270611 #5C0E28 #91163F #C61E56

Accessibility & contrast

On white

13.56
#5C0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E28
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E28#FFFFFF#000000##FFFFFF
##5C0E281.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0e28;
/* rgb */ color: rgb(92, 14, 40);
/* oklch */ color: oklch(31.6% 0.111 7.0);
Tailwind
colors: {
  custom: {
    50: '#8f5661',
    500: '#5c0e28',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e28;
$custom-light: #8f5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e28",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31591,
    "c": 0.11058,
    "h": 7
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#5C0E28
secondary
#309674
accent
#F0B338
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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