#5E2146#5E2146

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

Color values

HEX#5E2146
RGBrgb(94, 33, 70)
HSLhsl(324, 48%, 25%)
HSVhsv(324, 65%, 37%)
CMYKcmyk(0%, 64.9%, 25.5%, 63.1%)
CIE-LABlab(23.37, 32.27, -9.13)
CIE-LCHlch(23.37, 33.54, 344.20°)
OKLaboklab(35.25% 0.0972 -0.0241)
OKLCHoklch(35.25% 0.1 346)
XYZxyz(6.2657, 3.9102, 6.2179)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2146 #215E39
analogous
#58215E #5E2146 #5E2127
triadic
#5E2146 #465E21 #21465E
tetradic
#5E2146 #5E5821 #215E39 #21275E
square
#5E2146 #5E5821 #215E39 #21275E
split-complementary
#5E2146 #275E21 #215E58
monochromatic
#170811 #311124 #5E2146 #8B3168 #B94189

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E2146#FFFFFF#000000##FFFFFF
##5E21461.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)
#273147
Deuteranopia (green-blind)
#393C45
Tritanopia (blue-blind)
#642030
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2146;
/* rgb */ color: rgb(94, 33, 70);
/* oklch */ color: oklch(35.3% 0.100 346.0);
Tailwind
colors: {
  custom: {
    50: '#8e6079',
    500: '#5e2146',
    950: '#000000',
  },
}
SCSS
$custom: #5e2146;
$custom-light: #8e6079;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2146",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 323.607,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35255,
    "c": 0.10014,
    "h": 346
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#5E2146
secondary
#499266
accent
#D88550
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E2146

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

Preview Lab → · Contrast checker → · Palette generator →

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