#9E2280#9E2280

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

Color values

HEX#9E2280
RGBrgb(158, 34, 128)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 78.5%, 19%, 38%)
CIE-LABlab(37.79, 58.25, -23.47)
CIE-LCHlch(37.79, 62.80, 338.06°)
OKLaboklab(48.84% 0.1739 -0.0634)
OKLCHoklch(48.84% 0.185 340)
XYZxyz(18.5694, 9.9735, 21.3650)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2280 #229E40
analogous
#7E229E #9E2280 #9E2242
triadic
#9E2280 #809E22 #22809E
tetradic
#9E2280 #9E7E22 #229E40 #22429E
square
#9E2280 #9E7E22 #229E40 #22429E
split-complementary
#9E2280 #429E22 #229E7E
monochromatic
#390C2E #6C1757 #9E2280 #D02DA9 #DC5EBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2280#FFFFFF#000000##FFFFFF
##9E22801.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)
#2C4C82
Deuteranopia (green-blind)
#55607D
Tritanopia (blue-blind)
#A8274F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2280;
/* rgb */ color: rgb(158, 34, 128);
/* oklch */ color: oklch(48.8% 0.185 340.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ca5',
    500: '#9e2280',
    950: '#000000',
  },
}
SCSS
$custom: #9e2280;
$custom-light: #bf6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2280",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 314.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.18513,
    "h": 340
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#9E2280
secondary
#5BC174
accent
#E86940
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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