#9E2266#9E2266

#9E2266 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.170 H 352.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E2266
RGBrgb(158, 34, 102)
HSLhsl(327, 65%, 38%)
HSVhsv(327, 78%, 62%)
CMYKcmyk(0%, 78.5%, 35.4%, 38%)
CIE-LABlab(36.70, 54.97, -8.82)
CIE-LCHlch(36.70, 55.68, 350.88°)
OKLaboklab(47.68% 0.1687 -0.0227)
OKLCHoklch(47.68% 0.17 352.3)
XYZxyz(17.0719, 9.3745, 13.4782)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2266 #229E5A
analogous
#98229E #9E2266 #9E2228
triadic
#9E2266 #669E22 #22669E
tetradic
#9E2266 #9E9822 #229E5A #22289E
square
#9E2266 #9E9822 #229E5A #22289E
split-complementary
#9E2266 #289E22 #229E98
monochromatic
#390C25 #6C1745 #9E2266 #D02D87 #DC5EA3

Accessibility & contrast

On white

7.31
#9E2266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E2266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2266
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2266#FFFFFF#000000##FFFFFF
##9E22661.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4868
Deuteranopia (green-blind)
#5D5E63
Tritanopia (blue-blind)
#AA1541
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2266;
/* rgb */ color: rgb(158, 34, 102);
/* oklch */ color: oklch(47.7% 0.170 352.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b91',
    500: '#9e2266',
    950: '#000000',
  },
}
SCSS
$custom: #9e2266;
$custom-light: #bf6b91;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2266",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 327.097,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.17019,
    "h": 352.3
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#9E2266
secondary
#5BC189
accent
#E88C40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2266

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

Preview Lab → · Contrast checker → · Palette generator →

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