#9E2180#9E2180

#9E2180 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.186 H 339.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E2180
RGBrgb(158, 33, 128)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79.1%, 19%, 38%)
CIE-LABlab(37.69, 58.54, -23.63)
CIE-LCHlch(37.69, 63.13, 338.02°)
OKLaboklab(48.76% 0.1748 -0.0639)
OKLCHoklch(48.76% 0.186 339.9)
XYZxyz(18.5412, 9.9172, 21.3556)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2180 #219E3F
analogous
#7E219E #9E2180 #9E2142
triadic
#9E2180 #809E21 #21809E
tetradic
#9E2180 #9E7E21 #219E3F #21429E
square
#9E2180 #9E7E21 #219E3F #21429E
split-complementary
#9E2180 #429E21 #219E7E
monochromatic
#390C2E #6B1657 #9E2180 #D12CA9 #DD5CBE

Accessibility & contrast

On white

7.04
#9E2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2180
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2180#FFFFFF#000000##FFFFFF
##9E21801.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#54607D
Tritanopia (blue-blind)
#A8264F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2180;
/* rgb */ color: rgb(158, 33, 128);
/* oklch */ color: oklch(48.8% 0.186 339.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ba5',
    500: '#9e2180',
    950: '#000000',
  },
}
SCSS
$custom: #9e2180;
$custom-light: #bf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2180",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 314.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.18611,
    "h": 339.9
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#9E2180
secondary
#59C172
accent
#E8683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E2180

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

Preview Lab → · Contrast checker → · Palette generator →

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