#9E2182#9E2182

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

Color values

HEX#9E2182
RGBrgb(158, 33, 130)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79.1%, 17.7%, 38%)
CIE-LABlab(37.79, 58.82, -24.72)
CIE-LCHlch(37.79, 63.81, 337.21°)
OKLaboklab(48.86% 0.1751 -0.067)
OKLCHoklch(48.86% 0.187 339.1)
XYZxyz(18.6742, 9.9704, 22.0558)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2182 #219E3D
analogous
#7C219E #9E2182 #9E2144
triadic
#9E2182 #829E21 #21829E
tetradic
#9E2182 #9E7C21 #219E3D #21449E
square
#9E2182 #9E7C21 #219E3D #21449E
split-complementary
#9E2182 #449E21 #219E7C
monochromatic
#390C2F #6B1658 #9E2182 #D12CAC #DD5CC0

Accessibility & contrast

On white

7.01
#9E2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2182
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2182#FFFFFF#000000##FFFFFF
##9E21821.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#54607F
Tritanopia (blue-blind)
#A72750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2182;
/* rgb */ color: rgb(158, 33, 130);
/* oklch */ color: oklch(48.9% 0.187 339.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9e2182',
    950: '#000000',
  },
}
SCSS
$custom: #9e2182;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2182",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 313.44,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.18743,
    "h": 339.1
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#9E2182
secondary
#59C171
accent
#E8653F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E2182

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

Preview Lab → · Contrast checker → · Palette generator →

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