#9E2277#9E2277

#9E2277 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.179 H 344.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E2277
RGBrgb(158, 34, 119)
HSLhsl(319, 65%, 38%)
HSVhsv(319, 78%, 62%)
CMYKcmyk(0%, 78.5%, 24.7%, 38%)
CIE-LABlab(37.38, 57.04, -18.50)
CIE-LCHlch(37.38, 59.97, 342.04°)
OKLaboklab(48.41% 0.1725 -0.0494)
OKLCHoklch(48.41% 0.179 344)
XYZxyz(18.0031, 9.7470, 18.3825)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2277 #229E49
analogous
#87229E #9E2277 #9E2239
triadic
#9E2277 #779E22 #22779E
tetradic
#9E2277 #9E8722 #229E49 #22399E
square
#9E2277 #9E8722 #229E49 #22399E
split-complementary
#9E2277 #399E22 #229E87
monochromatic
#390C2B #6C1751 #9E2277 #D02D9D #DC5EB5

Accessibility & contrast

On white

7.12
#9E2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2277
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2277#FFFFFF#000000##FFFFFF
##9E22771.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B79
Deuteranopia (green-blind)
#585F74
Tritanopia (blue-blind)
#A9214A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2277;
/* rgb */ color: rgb(158, 34, 119);
/* oklch */ color: oklch(48.4% 0.179 344.0);
Tailwind
colors: {
  custom: {
    50: '#bf6b9e',
    500: '#9e2277',
    950: '#000000',
  },
}
SCSS
$custom: #9e2277;
$custom-light: #bf6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2277",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 318.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.17946,
    "h": 344
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#9E2277
secondary
#5BC17B
accent
#E87540
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2277

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

Preview Lab → · Contrast checker → · Palette generator →

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