#5E2245#5E2245

#5E2245 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.4% C 0.098 H 347.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5E2245
RGBrgb(94, 34, 69)
HSLhsl(325, 47%, 25%)
HSVhsv(325, 64%, 37%)
CMYKcmyk(0%, 63.8%, 26.6%, 63.1%)
CIE-LABlab(23.52, 31.61, -8.23)
CIE-LCHlch(23.52, 32.66, 345.40°)
OKLaboklab(35.35% 0.0953 -0.0217)
OKLCHoklch(35.35% 0.098 347.2)
XYZxyz(6.2625, 3.9540, 6.0624)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2245 #225E3B
analogous
#59225E #5E2245 #5E2227
triadic
#5E2245 #455E22 #22455E
tetradic
#5E2245 #5E5922 #225E3B #22275E
square
#5E2245 #5E5922 #225E3B #22275E
split-complementary
#5E2245 #275E22 #225E59
monochromatic
#160810 #311224 #5E2245 #8B3266 #B84387

Accessibility & contrast

On white

11.73
#5E2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2245
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2245#FFFFFF#000000##FFFFFF
##5E22451.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283146
Deuteranopia (green-blind)
#393C44
Tritanopia (blue-blind)
#642130
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2245;
/* rgb */ color: rgb(94, 34, 69);
/* oklch */ color: oklch(35.4% 0.098 347.2);
Tailwind
colors: {
  custom: {
    50: '#8e6178',
    500: '#5e2245',
    950: '#000000',
  },
}
SCSS
$custom: #5e2245;
$custom-light: #8e6178;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2245",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 325,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3535,
    "c": 0.09776,
    "h": 347.2
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#5E2245
secondary
#4A9268
accent
#D78951
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E2245

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

Preview Lab → · Contrast checker → · Palette generator →

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