#9E2285#9E2285

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

Color values

HEX#9E2285
RGBrgb(158, 34, 133)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78.5%, 15.8%, 38%)
CIE-LABlab(38.04, 58.96, -26.19)
CIE-LCHlch(38.04, 64.51, 336.05°)
OKLaboklab(49.09% 0.1745 -0.0712)
OKLCHoklch(49.09% 0.188 337.8)
XYZxyz(18.9066, 10.1084, 23.1412)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2285 #229E3B
analogous
#79229E #9E2285 #9E2247
triadic
#9E2285 #859E22 #22859E
tetradic
#9E2285 #9E7922 #229E3B #22479E
square
#9E2285 #9E7922 #229E3B #22479E
split-complementary
#9E2285 #479E22 #229E79
monochromatic
#390C30 #6C175B #9E2285 #D02DAF #DC5EC3

Accessibility & contrast

On white

6.95
#9E2285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2285
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2285#FFFFFF#000000##FFFFFF
##9E22851.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D88
Deuteranopia (green-blind)
#536082
Tritanopia (blue-blind)
#A72A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2285;
/* rgb */ color: rgb(158, 34, 133);
/* oklch */ color: oklch(49.1% 0.188 337.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9e2285',
    950: '#000000',
  },
}
SCSS
$custom: #9e2285;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2285",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 312.097,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.18846,
    "h": 337.8
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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