#5C0F30#5C0F30

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

Color values

HEX#5C0F30
RGBrgb(92, 15, 48)
HSLhsl(334, 72%, 21%)
HSVhsv(334, 84%, 36%)
CMYKcmyk(0%, 83.7%, 47.8%, 63.9%)
CIE-LABlab(19.35, 36.43, 0.06)
CIE-LCHlch(19.35, 36.43, 0.10°)
OKLaboklab(31.95% 0.1119 0.0006)
OKLCHoklch(31.95% 0.112 0.3)
XYZxyz(5.1184, 2.8310, 3.0727)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F30 #0F5C3B
analogous
#5C0F56 #5C0F30 #5C140F
triadic
#5C0F30 #305C0F #0F305C
tetradic
#5C0F30 #565C0F #0F5C3B #140F5C
square
#5C0F30 #565C0F #0F5C3B #140F5C
split-complementary
#5C0F30 #0F5C14 #0F565C
monochromatic
#1A040E #270615 #5C0F30 #91184B #C52067

Accessibility & contrast

On white

13.41
#5C0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C0F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F30
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F30#FFFFFF#000000##FFFFFF
##5C0F301.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212631
Deuteranopia (green-blind)
#36342E
Tritanopia (blue-blind)
#64011E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f30;
/* rgb */ color: rgb(92, 15, 48);
/* oklch */ color: oklch(31.9% 0.112 0.3);
Tailwind
colors: {
  custom: {
    50: '#8e5768',
    500: '#5c0f30',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f30;
$custom-light: #8e5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f30",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 334.286,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.11191,
    "h": 0.3
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#5C0F30
secondary
#31956B
accent
#EFA139
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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