#5C0F2E#5C0F2E

#5C0F2E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.111 H 2.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5C0F2E
RGBrgb(92, 15, 46)
HSLhsl(336, 72%, 21%)
HSVhsv(336, 84%, 36%)
CMYKcmyk(0%, 83.7%, 50%, 63.9%)
CIE-LABlab(19.29, 36.22, 1.39)
CIE-LCHlch(19.29, 36.24, 2.19°)
OKLaboklab(31.87% 0.1111 0.004)
OKLCHoklch(31.87% 0.111 2)
XYZxyz(5.0780, 2.8149, 2.8602)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F2E #0F5C3D
analogous
#5C0F54 #5C0F2E #5C160F
triadic
#5C0F2E #2E5C0F #0F2E5C
tetradic
#5C0F2E #545C0F #0F5C3D #160F5C
square
#5C0F2E #545C0F #0F5C3D #160F5C
split-complementary
#5C0F2E #0F5C16 #0F545C
monochromatic
#1A040D #270614 #5C0F2E #911848 #C52063

Accessibility & contrast

On white

13.44
#5C0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F2E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F2E#FFFFFF#000000##FFFFFF
##5C0F2E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#65001D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f2e;
/* rgb */ color: rgb(92, 15, 46);
/* oklch */ color: oklch(31.9% 0.111 2.0);
Tailwind
colors: {
  custom: {
    50: '#8f5666',
    500: '#5c0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f2e;
$custom-light: #8f5666;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f2e",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 335.844,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.11121,
    "h": 2
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#5C0F2E
secondary
#31956D
accent
#EFA639
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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