#5E274A#5E274A

#5E274A is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.3% C 0.093 H 343.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#5E274A
RGBrgb(94, 39, 74)
HSLhsl(322, 41%, 26%)
HSVhsv(322, 59%, 37%)
CMYKcmyk(0%, 58.5%, 21.3%, 63.1%)
CIE-LABlab(24.72, 29.76, -9.78)
CIE-LCHlch(24.72, 31.33, 341.81°)
OKLaboklab(36.31% 0.0888 -0.026)
OKLCHoklch(36.31% 0.093 343.7)
XYZxyz(6.5778, 4.3257, 6.9657)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E274A #275E3B
analogous
#56275E #5E274A #5E272E
triadic
#5E274A #4A5E27 #274A5E
tetradic
#5E274A #5E5627 #275E3B #272E5E
square
#5E274A #5E5627 #275E3B #272E5E
split-complementary
#5E274A #2E5E27 #275E56
monochromatic
#160911 #331528 #5E274A #89396C #B44B8E

Accessibility & contrast

On white

11.26
#5E274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E274A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E274A#FFFFFF#000000##FFFFFF
##5E274A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#3A3E49
Tritanopia (blue-blind)
#642735
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e274a;
/* rgb */ color: rgb(94, 39, 74);
/* oklch */ color: oklch(36.3% 0.093 343.7);
Tailwind
colors: {
  custom: {
    50: '#8e647c',
    500: '#5e274a',
    950: '#000000',
  },
}
SCSS
$custom: #5e274a;
$custom-light: #8e647c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e274a",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 321.818,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36309,
    "c": 0.09251,
    "h": 343.7
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#5E274A
secondary
#509168
accent
#D18357
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0509
muted
#7D7A7B

Preview Lab

Preview with #5E274A

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

Preview Lab → · Contrast checker → · Palette generator →

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