#9E2185#9E2185

#9E2185 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.189 H 337.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2185
RGBrgb(158, 33, 133)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 79.1%, 15.8%, 38%)
CIE-LABlab(37.94, 59.25, -26.35)
CIE-LCHlch(37.94, 64.84, 336.03°)
OKLaboklab(49.02% 0.1754 -0.0716)
OKLCHoklch(49.02% 0.189 337.8)
XYZxyz(18.8785, 10.0521, 23.1318)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2185 #219E3A
analogous
#79219E #9E2185 #9E2147
triadic
#9E2185 #859E21 #21859E
tetradic
#9E2185 #9E7921 #219E3A #21479E
square
#9E2185 #9E7921 #219E3A #21479E
split-complementary
#9E2185 #479E21 #219E79
monochromatic
#390C30 #6B165A #9E2185 #D12CB0 #DD5CC3

Accessibility & contrast

On white

6.98
#9E2185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2185
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2185#FFFFFF#000000##FFFFFF
##9E21851.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A72952
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2185;
/* rgb */ color: rgb(158, 33, 133);
/* oklch */ color: oklch(49.0% 0.189 337.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9e2185',
    950: '#000000',
  },
}
SCSS
$custom: #9e2185;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2185",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 312,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.18943,
    "h": 337.8
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#9E2185
secondary
#59C16E
accent
#E8613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2185

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

Preview Lab → · Contrast checker → · Palette generator →

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