#9E2188#9E2188

#9E2188 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.2% C 0.191 H 336.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E2188
RGBrgb(158, 33, 136)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 79.1%, 13.9%, 38%)
CIE-LABlab(38.09, 59.68, -27.96)
CIE-LCHlch(38.09, 65.91, 334.90°)
OKLaboklab(49.17% 0.1756 -0.0762)
OKLCHoklch(49.17% 0.191 336.5)
XYZxyz(19.0887, 10.1362, 24.2389)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2188 #219E37
analogous
#76219E #9E2188 #9E214A
triadic
#9E2188 #889E21 #21889E
tetradic
#9E2188 #9E7621 #219E37 #214A9E
square
#9E2188 #9E7621 #219E37 #214A9E
split-complementary
#9E2188 #4A9E21 #219E76
monochromatic
#390C31 #6B165C #9E2188 #D12CB4 #DD5CC6

Accessibility & contrast

On white

6.94
#9E2188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2188
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2188#FFFFFF#000000##FFFFFF
##9E21881.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A72B53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2188;
/* rgb */ color: rgb(158, 33, 136);
/* oklch */ color: oklch(49.2% 0.191 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cab',
    500: '#9e2188',
    950: '#000000',
  },
}
SCSS
$custom: #9e2188;
$custom-light: #bf6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2188",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 310.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.19146,
    "h": 336.5
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#9E2188
secondary
#59C16C
accent
#E85D3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2188

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

Preview Lab → · Contrast checker → · Palette generator →

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