#5E2145#5E2145

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

Color values

HEX#5E2145
RGBrgb(94, 33, 69)
HSLhsl(325, 48%, 25%)
HSVhsv(325, 65%, 37%)
CMYKcmyk(0%, 64.9%, 26.6%, 63.1%)
CIE-LABlab(23.33, 32.12, -8.52)
CIE-LCHlch(23.33, 33.23, 345.14°)
OKLaboklab(35.21% 0.0969 -0.0225)
OKLCHoklch(35.21% 0.099 346.9)
XYZxyz(6.2344, 3.8977, 6.0531)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2145 #215E3A
analogous
#58215E #5E2145 #5E2127
triadic
#5E2145 #455E21 #21455E
tetradic
#5E2145 #5E5821 #215E3A #21275E
square
#5E2145 #5E5821 #215E3A #21275E
split-complementary
#5E2145 #275E21 #215E58
monochromatic
#170811 #311124 #5E2145 #8B3166 #B94188

Accessibility & contrast

On white

11.80
#5E2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2145
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2145#FFFFFF#000000##FFFFFF
##5E21451.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2145;
/* rgb */ color: rgb(94, 33, 69);
/* oklch */ color: oklch(35.2% 0.099 346.9);
Tailwind
colors: {
  custom: {
    50: '#8e6078',
    500: '#5e2145',
    950: '#000000',
  },
}
SCSS
$custom: #5e2145;
$custom-light: #8e6078;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2145",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 324.59,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3521,
    "c": 0.09946,
    "h": 346.9
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#5E2145
secondary
#499267
accent
#D88850
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E2145

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

Preview Lab → · Contrast checker → · Palette generator →

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