#5D2F4E#5D2F4E

#5D2F4E is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.6% C 0.080 H 340.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#5D2F4E
RGBrgb(93, 47, 78)
HSLhsl(320, 33%, 27%)
HSVhsv(320, 49%, 36%)
CMYKcmyk(0%, 49.5%, 16.1%, 63.5%)
CIE-LABlab(26.48, 25.54, -9.79)
CIE-LCHlch(26.48, 27.35, 339.03°)
OKLaboklab(37.65% 0.0752 -0.0261)
OKLCHoklch(37.65% 0.08 340.8)
XYZxyz(6.9059, 4.9107, 7.7904)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2F4E #2F5D3E
analogous
#552F5D #5D2F4E #5D2F37
triadic
#5D2F4E #4E5D2F #2F4E5D
tetradic
#5D2F4E #5D552F #2F5D3E #2F375D
square
#5D2F4E #5D552F #2F5D3E #2F375D
split-complementary
#5D2F4E #375D2F #2F5D55
monochromatic
#140A11 #341A2C #5D2F4E #864470 #AC5B91

Accessibility & contrast

On white

10.60
#5D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2F4E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2F4E#FFFFFF#000000##FFFFFF
##5D2F4E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2f4e;
/* rgb */ color: rgb(93, 47, 78);
/* oklch */ color: oklch(37.6% 0.080 340.8);
Tailwind
colors: {
  custom: {
    50: '#8c697f',
    500: '#5d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d2f4e;
$custom-light: #8c697f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2f4e",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 319.565,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.07957,
    "h": 340.8
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#5D2F4E
secondary
#598F6B
accent
#C9815F
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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