#5C0F26#5C0F26

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

Color values

HEX#5C0F26
RGBrgb(92, 15, 38)
HSLhsl(342, 72%, 21%)
HSVhsv(342, 84%, 36%)
CMYKcmyk(0%, 83.7%, 58.7%, 63.9%)
CIE-LABlab(19.05, 35.47, 6.74)
CIE-LCHlch(19.05, 36.10, 10.76°)
OKLaboklab(31.62% 0.1078 0.0171)
OKLCHoklch(31.62% 0.109 9)
XYZxyz(4.9348, 2.7576, 2.1058)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F26 #0F5C45
analogous
#5C0F4C #5C0F26 #5C1E0F
triadic
#5C0F26 #265C0F #0F265C
tetradic
#5C0F26 #4C5C0F #0F5C45 #1E0F5C
square
#5C0F26 #4C5C0F #0F5C45 #1E0F5C
split-complementary
#5C0F26 #0F5C1E #0F4C5C
monochromatic
#1A040B #270610 #5C0F26 #91183C #C52051

Accessibility & contrast

On white

13.54
#5C0F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F26
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F26#FFFFFF#000000##FFFFFF
##5C0F261.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0f26;
/* rgb */ color: rgb(92, 15, 38);
/* oklch */ color: oklch(31.6% 0.109 9.0);
Tailwind
colors: {
  custom: {
    50: '#8f5660',
    500: '#5c0f26',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f26;
$custom-light: #8f5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f26",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 342.078,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31618,
    "c": 0.10917,
    "h": 9
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#5C0F26
secondary
#319578
accent
#EFB839
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C0F26

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

Preview Lab → · Contrast checker → · Palette generator →

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