#9E2271#9E2271

#9E2271 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 346.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9E2271
RGBrgb(158, 34, 113)
HSLhsl(322, 65%, 38%)
HSVhsv(322, 78%, 62%)
CMYKcmyk(0%, 78.5%, 28.5%, 38%)
CIE-LABlab(37.13, 56.28, -15.12)
CIE-LCHlch(37.13, 58.28, 344.96°)
OKLaboklab(48.14% 0.1714 -0.04)
OKLCHoklch(48.14% 0.176 346.9)
XYZxyz(17.6541, 9.6074, 16.5443)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2271 #229E4F
analogous
#8D229E #9E2271 #9E2233
triadic
#9E2271 #719E22 #22719E
tetradic
#9E2271 #9E8D22 #229E4F #22339E
square
#9E2271 #9E8D22 #229E4F #22339E
split-complementary
#9E2271 #339E22 #229E8D
monochromatic
#390C29 #6C174D #9E2271 #D02D95 #DC5EAF

Accessibility & contrast

On white

7.19
#9E2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2271
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2271#FFFFFF#000000##FFFFFF
##9E22711.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A91D47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2271;
/* rgb */ color: rgb(158, 34, 113);
/* oklch */ color: oklch(48.1% 0.176 346.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b9a',
    500: '#9e2271',
    950: '#000000',
  },
}
SCSS
$custom: #9e2271;
$custom-light: #bf6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2271",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 321.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.17596,
    "h": 346.9
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#9E2271
secondary
#5BC180
accent
#E87D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2271

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

Preview Lab → · Contrast checker → · Palette generator →

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