#9E2276#9E2276

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

Color values

HEX#9E2276
RGBrgb(158, 34, 118)
HSLhsl(319, 65%, 38%)
HSVhsv(319, 78%, 62%)
CMYKcmyk(0%, 78.5%, 25.3%, 38%)
CIE-LABlab(37.34, 56.91, -17.94)
CIE-LCHlch(37.34, 59.67, 342.51°)
OKLaboklab(48.36% 0.1724 -0.0478)
OKLCHoklch(48.36% 0.179 344.5)
XYZxyz(17.9434, 9.7231, 18.0678)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2276 #229E4A
analogous
#88229E #9E2276 #9E2238
triadic
#9E2276 #769E22 #22769E
tetradic
#9E2276 #9E8822 #229E4A #22389E
square
#9E2276 #9E8822 #229E4A #22389E
split-complementary
#9E2276 #389E22 #229E88
monochromatic
#390C2B #6C1750 #9E2276 #D02D9C #DC5EB4

Accessibility & contrast

On white

7.13
#9E2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2276
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2276#FFFFFF#000000##FFFFFF
##9E22761.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#585F73
Tritanopia (blue-blind)
#A9204A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2276;
/* rgb */ color: rgb(158, 34, 118);
/* oklch */ color: oklch(48.4% 0.179 344.5);
Tailwind
colors: {
  custom: {
    50: '#bf6b9d',
    500: '#9e2276',
    950: '#000000',
  },
}
SCSS
$custom: #9e2276;
$custom-light: #bf6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2276",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 319.355,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.17886,
    "h": 344.5
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#9E2276
secondary
#5BC17C
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2276

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

Preview Lab → · Contrast checker → · Palette generator →

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