#5C0F28#5C0F28

#5C0F28 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 7.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#5C0F28
RGBrgb(92, 15, 40)
HSLhsl(341, 72%, 21%)
HSVhsv(341, 84%, 36%)
CMYKcmyk(0%, 83.7%, 56.5%, 63.9%)
CIE-LABlab(19.10, 35.64, 5.39)
CIE-LCHlch(19.10, 36.05, 8.60°)
OKLaboklab(31.68% 0.1087 0.0139)
OKLCHoklch(31.68% 0.11 7.3)
XYZxyz(4.9679, 2.7709, 2.2803)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F28 #0F5C43
analogous
#5C0F4E #5C0F28 #5C1C0F
triadic
#5C0F28 #285C0F #0F285C
tetradic
#5C0F28 #4E5C0F #0F5C43 #1C0F5C
square
#5C0F28 #4E5C0F #0F5C43 #1C0F5C
split-complementary
#5C0F28 #0F5C1C #0F4E5C
monochromatic
#1A040B #270611 #5C0F28 #91183F #C52056

Accessibility & contrast

On white

13.51
#5C0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F28
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F28#FFFFFF#000000##FFFFFF
##5C0F281.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232528
Deuteranopia (green-blind)
#373426
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f28;
/* rgb */ color: rgb(92, 15, 40);
/* oklch */ color: oklch(31.7% 0.110 7.3);
Tailwind
colors: {
  custom: {
    50: '#8f5661',
    500: '#5c0f28',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f28;
$custom-light: #8f5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f28",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 340.519,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.10956,
    "h": 7.3
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#5C0F28
secondary
#319575
accent
#EFB439
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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