#9E2273#9E2273

#9E2273 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.177 H 345.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9E2273
RGBrgb(158, 34, 115)
HSLhsl(321, 65%, 38%)
HSVhsv(321, 78%, 62%)
CMYKcmyk(0%, 78.5%, 27.2%, 38%)
CIE-LABlab(37.21, 56.53, -16.25)
CIE-LCHlch(37.21, 58.82, 343.96°)
OKLaboklab(48.22% 0.1718 -0.0431)
OKLCHoklch(48.22% 0.177 345.9)
XYZxyz(17.7679, 9.6529, 17.1438)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2273 #229E4D
analogous
#8B229E #9E2273 #9E2235
triadic
#9E2273 #739E22 #22739E
tetradic
#9E2273 #9E8B22 #229E4D #22359E
square
#9E2273 #9E8B22 #229E4D #22359E
split-complementary
#9E2273 #359E22 #229E8B
monochromatic
#390C2A #6C174E #9E2273 #D02D98 #DC5EB1

Accessibility & contrast

On white

7.17
#9E2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2273
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2273#FFFFFF#000000##FFFFFF
##9E22731.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#A91F48
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2273;
/* rgb */ color: rgb(158, 34, 115);
/* oklch */ color: oklch(48.2% 0.177 345.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b9b',
    500: '#9e2273',
    950: '#000000',
  },
}
SCSS
$custom: #9e2273;
$custom-light: #bf6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2273",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 320.806,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48223,
    "c": 0.1771,
    "h": 345.9
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#9E2273
secondary
#5BC17E
accent
#E87A40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2273

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

Preview Lab → · Contrast checker → · Palette generator →

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