#9E2178#9E2178

#9E2178 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.181 H 343.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9E2178
RGBrgb(158, 33, 120)
HSLhsl(318, 65%, 37%)
HSVhsv(318, 79%, 62%)
CMYKcmyk(0%, 79.1%, 24.1%, 38%)
CIE-LABlab(37.33, 57.47, -19.21)
CIE-LCHlch(37.33, 60.59, 341.51°)
OKLaboklab(48.38% 0.1736 -0.0514)
OKLCHoklch(48.38% 0.181 343.5)
XYZxyz(18.0353, 9.7148, 18.6910)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2178 #219E47
analogous
#86219E #9E2178 #9E213A
triadic
#9E2178 #789E21 #21789E
tetradic
#9E2178 #9E8621 #219E47 #213A9E
square
#9E2178 #9E8621 #219E47 #213A9E
split-complementary
#9E2178 #3A9E21 #219E86
monochromatic
#390C2B #6B1652 #9E2178 #D12C9E #DD5CB6

Accessibility & contrast

On white

7.14
#9E2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2178
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2178#FFFFFF#000000##FFFFFF
##9E21781.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7A
Deuteranopia (green-blind)
#575F75
Tritanopia (blue-blind)
#A9214A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2178;
/* rgb */ color: rgb(158, 33, 120);
/* oklch */ color: oklch(48.4% 0.181 343.5);
Tailwind
colors: {
  custom: {
    50: '#bf6b9f',
    500: '#9e2178',
    950: '#000000',
  },
}
SCSS
$custom: #9e2178;
$custom-light: #bf6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2178",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 318.24,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.18107,
    "h": 343.5
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#9E2178
secondary
#59C179
accent
#E8733F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2178

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

Preview Lab → · Contrast checker → · Palette generator →

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