#5C2E4E#5C2E4E

#5C2E4E is a dark, moderate pink. Relative luminance 0.048; OKLCH L 37.3% C 0.081 H 339.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#5C2E4E
RGBrgb(92, 46, 78)
HSLhsl(318, 33%, 27%)
HSVhsv(318, 50%, 36%)
CMYKcmyk(0%, 50%, 15.2%, 63.9%)
CIE-LABlab(26.10, 25.76, -10.38)
CIE-LCHlch(26.10, 27.78, 338.05°)
OKLaboklab(37.33% 0.0756 -0.0278)
OKLCHoklch(37.33% 0.081 339.8)
XYZxyz(6.7658, 4.7798, 7.7725)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2E4E #2E5C3C
analogous
#532E5C #5C2E4E #5C2E37
triadic
#5C2E4E #4E5C2E #2E4E5C
tetradic
#5C2E4E #5C532E #2E5C3C #2E375C
square
#5C2E4E #5C532E #2E5C3C #2E375C
split-complementary
#5C2E4E #375C2E #2E5C53
monochromatic
#140A11 #331A2B #5C2E4E #854271 #AC5992

Accessibility & contrast

On white

10.74
#5C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5C2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2E4E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2E4E#FFFFFF#000000##FFFFFF
##5C2E4E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#3C404D
Tritanopia (blue-blind)
#612F3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c2e4e;
/* rgb */ color: rgb(92, 46, 78);
/* oklch */ color: oklch(37.3% 0.081 339.8);
Tailwind
colors: {
  custom: {
    50: '#8b687f',
    500: '#5c2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c2e4e;
$custom-light: #8b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2e4e",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 318.261,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.08054,
    "h": 339.8
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#5C2E4E
secondary
#588E68
accent
#C97F5E
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5C2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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