#5E2452#5E2452

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

Color values

HEX#5E2452
RGBrgb(94, 36, 82)
HSLhsl(312, 45%, 25%)
HSVhsv(312, 62%, 37%)
CMYKcmyk(0%, 61.7%, 12.8%, 63.1%)
CIE-LABlab(24.49, 32.76, -15.49)
CIE-LCHlch(24.49, 36.24, 334.69°)
OKLaboklab(36.25% 0.0956 -0.042)
OKLCHoklch(36.25% 0.104 336.3)
XYZxyz(6.7700, 4.2512, 8.4450)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2452 #245E30
analogous
#4D245E #5E2452 #5E2435
triadic
#5E2452 #525E24 #24525E
tetradic
#5E2452 #5E4D24 #245E30 #24355E
square
#5E2452 #5E4D24 #245E30 #24355E
split-complementary
#5E2452 #355E24 #245E4D
monochromatic
#160813 #32132B #5E2452 #8A3579 #B7469F

Accessibility & contrast

On white

11.35
#5E2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2452
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2452#FFFFFF#000000##FFFFFF
##5E24521.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253553
Deuteranopia (green-blind)
#363D50
Tritanopia (blue-blind)
#632737
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e2452;
/* rgb */ color: rgb(94, 36, 82);
/* oklch */ color: oklch(36.3% 0.104 336.3);
Tailwind
colors: {
  custom: {
    50: '#8e6282',
    500: '#5e2452',
    950: '#000000',
  },
}
SCSS
$custom: #5e2452;
$custom-light: #8e6282;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2452",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 312.414,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.10438,
    "h": 336.3
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#5E2452
secondary
#4C925B
accent
#D46E53
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0C050A
muted
#7D7A7C

Preview Lab

Preview with #5E2452

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

Preview Lab → · Contrast checker → · Palette generator →

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