#5E2242#5E2242

#5E2242 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.2% C 0.096 H 350.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#5E2242
RGBrgb(94, 34, 66)
HSLhsl(328, 47%, 25%)
HSVhsv(328, 64%, 37%)
CMYKcmyk(0%, 63.8%, 29.8%, 63.1%)
CIE-LABlab(23.40, 31.15, -6.38)
CIE-LCHlch(23.40, 31.80, 348.42°)
OKLaboklab(35.22% 0.0944 -0.0166)
OKLCHoklch(35.22% 0.096 350)
XYZxyz(6.1717, 3.9177, 5.5844)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2242 #225E3E
analogous
#5C225E #5E2242 #5E2224
triadic
#5E2242 #425E22 #22425E
tetradic
#5E2242 #5E5C22 #225E3E #22245E
square
#5E2242 #5E5C22 #225E3E #22245E
split-complementary
#5E2242 #245E22 #225E5C
monochromatic
#160810 #311222 #5E2242 #8B3262 #B84381

Accessibility & contrast

On white

11.78
#5E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2242
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2242#FFFFFF#000000##FFFFFF
##5E22421.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3143
Deuteranopia (green-blind)
#3A3C41
Tritanopia (blue-blind)
#65202F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2242;
/* rgb */ color: rgb(94, 34, 66);
/* oklch */ color: oklch(35.2% 0.096 350.0);
Tailwind
colors: {
  custom: {
    50: '#8e6176',
    500: '#5e2242',
    950: '#000000',
  },
}
SCSS
$custom: #5e2242;
$custom-light: #8e6176;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2242",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 328,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3522,
    "c": 0.09584,
    "h": 350
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#5E2242
secondary
#4A926B
accent
#D78F51
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0508
muted
#7D797B

Preview Lab

Preview with #5E2242

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

Preview Lab → · Contrast checker → · Palette generator →

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