#9E1281#9E1281

#9E1281 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.199 H 339.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9E1281
RGBrgb(158, 18, 129)
HSLhsl(312, 80%, 35%)
HSVhsv(312, 89%, 62%)
CMYKcmyk(0%, 88.6%, 18.4%, 38%)
CIE-LABlab(36.53, 62.17, -26.06)
CIE-LCHlch(36.53, 67.41, 337.26°)
OKLaboklab(47.95% 0.1855 -0.0707)
OKLCHoklch(47.95% 0.199 339.1)
XYZxyz(18.2798, 9.2886, 21.5948)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1281 #129E2F
analogous
#75129E #9E1281 #9E123B
triadic
#9E1281 #819E12 #12819E
tetradic
#9E1281 #9E7512 #129E2F #123B9E
square
#9E1281 #9E7512 #129E2F #123B9E
split-complementary
#9E1281 #3B9E12 #129E75
monochromatic
#300527 #670C54 #9E1281 #D518AE #E941C6

Accessibility & contrast

On white

7.35
#9E1281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E1281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1281
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1281#FFFFFF#000000##FFFFFF
##9E12811.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4884
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A81B4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1281;
/* rgb */ color: rgb(158, 18, 129);
/* oklch */ color: oklch(47.9% 0.199 339.1);
Tailwind
colors: {
  custom: {
    50: '#bf67a6',
    500: '#9e1281',
    950: '#000000',
  },
}
SCSS
$custom: #9e1281;
$custom-light: #bf67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1281",
  "rgb": {
    "r": 158,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 312.429,
    "s": 79.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.19854,
    "h": 339.1
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#9E1281
secondary
#42C95E
accent
#F65A32
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1281

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

Preview Lab → · Contrast checker → · Palette generator →

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