#5C1F4E#5C1F4E

#5C1F4E is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.108 H 337.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#5C1F4E
RGBrgb(92, 31, 78)
HSLhsl(314, 50%, 24%)
HSVhsv(314, 66%, 36%)
CMYKcmyk(0%, 66.3%, 15.2%, 63.9%)
CIE-LABlab(23.02, 33.94, -15.11)
CIE-LCHlch(23.02, 37.15, 336.00°)
OKLaboklab(35.05% 0.0998 -0.0409)
OKLCHoklch(35.05% 0.108 337.7)
XYZxyz(6.2789, 3.8059, 7.6102)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1F4E #1F5C2D
analogous
#4C1F5C #5C1F4E #5C1F30
triadic
#5C1F4E #4E5C1F #1F4E5C
tetradic
#5C1F4E #5C4C1F #1F5C2D #1F305C
square
#5C1F4E #5C4C1F #1F5C2D #1F305C
split-complementary
#5C1F4E #305C1F #1F5C4C
monochromatic
#170813 #2E1027 #5C1F4E #8A2E75 #B83E9C

Accessibility & contrast

On white

11.93
#5C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1F4E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1F4E#FFFFFF#000000##FFFFFF
##5C1F4E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#343A4C
Tritanopia (blue-blind)
#612233
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1f4e;
/* rgb */ color: rgb(92, 31, 78);
/* oklch */ color: oklch(35.0% 0.108 337.7);
Tailwind
colors: {
  custom: {
    50: '#8c5f7f',
    500: '#5c1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c1f4e;
$custom-light: #8c5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1f4e",
  "rgb": {
    "r": 92,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 313.77,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35045,
    "c": 0.10784,
    "h": 337.7
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#5C1F4E
secondary
#469157
accent
#D96E4F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5C1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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