#9E2286#9E2286

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

Color values

HEX#9E2286
RGBrgb(158, 34, 134)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78.5%, 15.2%, 38%)
CIE-LABlab(38.09, 59.10, -26.73)
CIE-LCHlch(38.09, 64.87, 335.67°)
OKLaboklab(49.14% 0.1746 -0.0727)
OKLCHoklch(49.14% 0.189 337.4)
XYZxyz(18.9761, 10.1362, 23.5067)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2286 #229E3A
analogous
#78229E #9E2286 #9E2248
triadic
#9E2286 #869E22 #22869E
tetradic
#9E2286 #9E7822 #229E3A #22489E
square
#9E2286 #9E7822 #229E3A #22489E
split-complementary
#9E2286 #489E22 #229E78
monochromatic
#390C31 #6C175B #9E2286 #D02DB1 #DC5EC4

Accessibility & contrast

On white

6.94
#9E2286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2286
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2286#FFFFFF#000000##FFFFFF
##9E22861.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A72A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2286;
/* rgb */ color: rgb(158, 34, 134);
/* oklch */ color: oklch(49.1% 0.189 337.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9e2286',
    950: '#000000',
  },
}
SCSS
$custom: #9e2286;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2286",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 311.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49139,
    "c": 0.18914,
    "h": 337.4
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#9E2286
secondary
#5BC16F
accent
#E86140
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2286

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

Preview Lab → · Contrast checker → · Palette generator →

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