#9E2183#9E2183

#9E2183 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 338.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9E2183
RGBrgb(158, 33, 131)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79.1%, 17.1%, 38%)
CIE-LABlab(37.84, 58.96, -25.26)
CIE-LCHlch(37.84, 64.15, 336.81°)
OKLaboklab(48.91% 0.1752 -0.0685)
OKLCHoklch(48.91% 0.188 338.6)
XYZxyz(18.7416, 9.9974, 22.4110)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2183 #219E3C
analogous
#7B219E #9E2183 #9E2145
triadic
#9E2183 #839E21 #21839E
tetradic
#9E2183 #9E7B21 #219E3C #21459E
square
#9E2183 #9E7B21 #219E3C #21459E
split-complementary
#9E2183 #459E21 #219E7B
monochromatic
#390C2F #6B1659 #9E2183 #D12CAD #DD5CC1

Accessibility & contrast

On white

7.00
#9E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E2183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2183
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2183#FFFFFF#000000##FFFFFF
##9E21831.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#A72850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2183;
/* rgb */ color: rgb(158, 33, 131);
/* oklch */ color: oklch(48.9% 0.188 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ba7',
    500: '#9e2183',
    950: '#000000',
  },
}
SCSS
$custom: #9e2183;
$custom-light: #bf6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2183",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 312.96,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.18809,
    "h": 338.6
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#9E2183
secondary
#59C170
accent
#E8643F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E2183

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

Preview Lab → · Contrast checker → · Palette generator →

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