#5C2F4E#5C2F4E

#5C2F4E is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.5% C 0.079 H 340.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#5C2F4E
RGBrgb(92, 47, 78)
HSLhsl(319, 32%, 27%)
HSVhsv(319, 49%, 36%)
CMYKcmyk(0%, 48.9%, 15.2%, 63.9%)
CIE-LABlab(26.33, 25.17, -10.03)
CIE-LCHlch(26.33, 27.10, 338.27°)
OKLaboklab(37.5% 0.0739 -0.0268)
OKLCHoklch(37.5% 0.079 340.1)
XYZxyz(6.8054, 4.8589, 7.7857)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2F4E #2F5C3D
analogous
#542F5C #5C2F4E #5C2F37
triadic
#5C2F4E #4E5C2F #2F4E5C
tetradic
#5C2F4E #5C542F #2F5C3D #2F375C
square
#5C2F4E #5C542F #2F5C3D #2F375C
split-complementary
#5C2F4E #375C2F #2F5C54
monochromatic
#140A11 #331A2C #5C2F4E #854470 #AB5A92

Accessibility & contrast

On white

10.65
#5C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5C2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2F4E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2F4E#FFFFFF#000000##FFFFFF
##5C2F4E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#3D414D
Tritanopia (blue-blind)
#61303B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c2f4e;
/* rgb */ color: rgb(92, 47, 78);
/* oklch */ color: oklch(37.5% 0.079 340.1);
Tailwind
colors: {
  custom: {
    50: '#8b697f',
    500: '#5c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c2f4e;
$custom-light: #8b697f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2f4e",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 318.667,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.07858,
    "h": 340.1
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#5C2F4E
secondary
#598E6A
accent
#C9805F
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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