#9E2174#9E2174

#9E2174 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 345.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E2174
RGBrgb(158, 33, 116)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79.1%, 26.6%, 38%)
CIE-LABlab(37.15, 56.95, -16.97)
CIE-LCHlch(37.15, 59.43, 343.40°)
OKLaboklab(48.19% 0.1729 -0.0451)
OKLCHoklch(48.19% 0.179 345.4)
XYZxyz(17.7976, 9.6198, 17.4391)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2174 #219E4B
analogous
#8A219E #9E2174 #9E2136
triadic
#9E2174 #749E21 #21749E
tetradic
#9E2174 #9E8A21 #219E4B #21369E
square
#9E2174 #9E8A21 #219E4B #21369E
split-complementary
#9E2174 #369E21 #219E8A
monochromatic
#390C2A #6B164F #9E2174 #D12C99 #DD5CB2

Accessibility & contrast

On white

7.18
#9E2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2174
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2174#FFFFFF#000000##FFFFFF
##9E21741.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A91E48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2174;
/* rgb */ color: rgb(158, 33, 116);
/* oklch */ color: oklch(48.2% 0.179 345.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b9c',
    500: '#9e2174',
    950: '#000000',
  },
}
SCSS
$custom: #9e2174;
$custom-light: #bf6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2174",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 320.16,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.17868,
    "h": 345.4
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#9E2174
secondary
#59C17C
accent
#E8783F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2174

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

Preview Lab → · Contrast checker → · Palette generator →

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