#5E274F#5E274F

#5E274F is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.5% C 0.096 H 339.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#5E274F
RGBrgb(94, 39, 79)
HSLhsl(316, 41%, 26%)
HSVhsv(316, 59%, 37%)
CMYKcmyk(0%, 58.5%, 16%, 63.1%)
CIE-LABlab(24.94, 30.63, -12.79)
CIE-LCHlch(24.94, 33.19, 337.33°)
OKLaboklab(36.54% 0.0901 -0.0344)
OKLCHoklch(36.54% 0.096 339.1)
XYZxyz(6.7530, 4.3958, 7.8884)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E274F #275E36
analogous
#51275E #5E274F #5E2733
triadic
#5E274F #4F5E27 #274F5E
tetradic
#5E274F #5E5127 #275E36 #27335E
square
#5E274F #5E5127 #275E36 #27335E
split-complementary
#5E274F #335E27 #275E51
monochromatic
#160912 #33152B #5E274F #893973 #B44B98

Accessibility & contrast

On white

11.18
#5E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E274F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E274F#FFFFFF#000000##FFFFFF
##5E274F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#393E4E
Tritanopia (blue-blind)
#632837
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e274f;
/* rgb */ color: rgb(94, 39, 79);
/* oklch */ color: oklch(36.5% 0.096 339.1);
Tailwind
colors: {
  custom: {
    50: '#8d6480',
    500: '#5e274f',
    950: '#000000',
  },
}
SCSS
$custom: #5e274f;
$custom-light: #8d6480;
$custom-dark: #000000;
JSON
{
  "hex": "#5e274f",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 316.364,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36543,
    "c": 0.09649,
    "h": 339.1
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#5E274F
secondary
#509162
accent
#D17857
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C050A
muted
#7D7A7C

Preview Lab

Preview with #5E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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