#9E2E54#9E2E54

#9E2E54 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.150 H 4.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E2E54
RGBrgb(158, 46, 84)
HSLhsl(340, 55%, 40%)
HSVhsv(340, 71%, 62%)
CMYKcmyk(0%, 70.9%, 46.8%, 38%)
CIE-LABlab(37.60, 48.90, 3.98)
CIE-LCHlch(37.60, 49.06, 4.66°)
OKLaboklab(48.15% 0.1495 0.0107)
OKLCHoklch(48.15% 0.15 4.1)
XYZxyz(16.6791, 9.8653, 9.4117)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E54 #2E9E78
analogous
#9E2E8C #9E2E54 #9E402E
triadic
#9E2E54 #549E2E #2E549E
tetradic
#9E2E54 #8C9E2E #2E9E78 #402E9E
square
#9E2E54 #8C9E2E #2E9E78 #402E9E
split-complementary
#9E2E54 #2E9E40 #2E8C9E
monochromatic
#3F1222 #6F203B #9E2E54 #C8416F #D67193

Accessibility & contrast

On white

7.06
#9E2E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E2E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2E54
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E54#FFFFFF#000000##FFFFFF
##9E2E541.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#AC1C3E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2e54;
/* rgb */ color: rgb(158, 46, 84);
/* oklch */ color: oklch(48.2% 0.150 4.1);
Tailwind
colors: {
  custom: {
    50: '#c06f83',
    500: '#9e2e54',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e54;
$custom-light: #c06f83;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e54",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 339.643,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.14986,
    "h": 4.1
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#9E2E54
secondary
#6BBDA1
accent
#DEAC4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2E54

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

Preview Lab → · Contrast checker → · Palette generator →

#9E2E54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva