#5E274B#5E274B

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

Color values

HEX#5E274B
RGBrgb(94, 39, 75)
HSLhsl(321, 41%, 26%)
HSVhsv(321, 59%, 37%)
CMYKcmyk(0%, 58.5%, 20.2%, 63.1%)
CIE-LABlab(24.76, 29.93, -10.39)
CIE-LCHlch(24.76, 31.68, 340.86°)
OKLaboklab(36.35% 0.0891 -0.0277)
OKLCHoklch(36.35% 0.093 342.7)
XYZxyz(6.6118, 4.3393, 7.1446)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E274B #275E3A
analogous
#55275E #5E274B #5E272F
triadic
#5E274B #4B5E27 #274B5E
tetradic
#5E274B #5E5527 #275E3A #272F5E
square
#5E274B #5E5527 #275E3A #272F5E
split-complementary
#5E274B #2F5E27 #275E55
monochromatic
#160911 #331528 #5E274B #89396E #B44B90

Accessibility & contrast

On white

11.24
#5E274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E274B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E274B#FFFFFF#000000##FFFFFF
##5E274B1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e274b;
/* rgb */ color: rgb(94, 39, 75);
/* oklch */ color: oklch(36.4% 0.093 342.7);
Tailwind
colors: {
  custom: {
    50: '#8d647d',
    500: '#5e274b',
    950: '#000000',
  },
}
SCSS
$custom: #5e274b;
$custom-light: #8d647d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e274b",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 320.727,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.09327,
    "h": 342.7
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#5E274B
secondary
#509166
accent
#D18157
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0509
muted
#7D7A7B

Preview Lab

Preview with #5E274B

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

Preview Lab → · Contrast checker → · Palette generator →

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