#5C0E26#5C0E26

#5C0E26 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.110 H 8.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5C0E26
RGBrgb(92, 14, 38)
HSLhsl(342, 74%, 21%)
HSVhsv(342, 85%, 36%)
CMYKcmyk(0%, 84.8%, 58.7%, 63.9%)
CIE-LABlab(18.93, 35.80, 6.58)
CIE-LCHlch(18.93, 36.40, 10.41°)
OKLaboklab(31.53% 0.1089 0.0167)
OKLCHoklch(31.53% 0.11 8.7)
XYZxyz(4.9210, 2.7300, 2.1012)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E26 #0E5C44
analogous
#5C0E4D #5C0E26 #5C1D0E
triadic
#5C0E26 #265C0E #0E265C
tetradic
#5C0E26 #4D5C0E #0E5C44 #1D0E5C
square
#5C0E26 #4D5C0E #0E5C44 #1D0E5C
split-complementary
#5C0E26 #0E5C1D #0E4D5C
monochromatic
#1B040B #270610 #5C0E26 #91163C #C61E52

Accessibility & contrast

On white

13.59
#5C0E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E26
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E26#FFFFFF#000000##FFFFFF
##5C0E261.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0e26;
/* rgb */ color: rgb(92, 14, 38);
/* oklch */ color: oklch(31.5% 0.110 8.7);
Tailwind
colors: {
  custom: {
    50: '#8f5660',
    500: '#5c0e26',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e26;
$custom-light: #8f5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e26",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 341.538,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.11017,
    "h": 8.7
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#5C0E26
secondary
#309676
accent
#F0B738
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C0E26

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

Preview Lab → · Contrast checker → · Palette generator →

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