#5C0F23#5C0F23

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

Color values

HEX#5C0F23
RGBrgb(92, 15, 35)
HSLhsl(344, 72%, 21%)
HSVhsv(344, 84%, 36%)
CMYKcmyk(0%, 83.7%, 62%, 63.9%)
CIE-LABlab(18.97, 35.22, 8.77)
CIE-LCHlch(18.97, 36.30, 13.98°)
OKLaboklab(31.53% 0.1065 0.0219)
OKLCHoklch(31.53% 0.109 11.6)
XYZxyz(4.8883, 2.7390, 1.8611)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F23 #0F5C48
analogous
#5C0F49 #5C0F23 #5C210F
triadic
#5C0F23 #235C0F #0F235C
tetradic
#5C0F23 #495C0F #0F5C48 #210F5C
square
#5C0F23 #495C0F #0F5C48 #210F5C
split-complementary
#5C0F23 #0F5C21 #0F495C
monochromatic
#1A040A #27060F #5C0F23 #911837 #C5204B

Accessibility & contrast

On white

13.57
#5C0F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F23
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F23#FFFFFF#000000##FFFFFF
##5C0F231.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242423
Deuteranopia (green-blind)
#383421
Tritanopia (blue-blind)
#650018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f23;
/* rgb */ color: rgb(92, 15, 35);
/* oklch */ color: oklch(31.5% 0.109 11.6);
Tailwind
colors: {
  custom: {
    50: '#8f565d',
    500: '#5c0f23',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f23;
$custom-light: #8f565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f23",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 344.416,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.10873,
    "h": 11.6
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#5C0F23
secondary
#31957B
accent
#EFC039
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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