#9E2272#9E2272

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

Color values

HEX#9E2272
RGBrgb(158, 34, 114)
HSLhsl(321, 65%, 38%)
HSVhsv(321, 78%, 62%)
CMYKcmyk(0%, 78.5%, 27.8%, 38%)
CIE-LABlab(37.17, 56.40, -15.69)
CIE-LCHlch(37.17, 58.54, 344.46°)
OKLaboklab(48.18% 0.1716 -0.0416)
OKLCHoklch(48.18% 0.177 346.4)
XYZxyz(17.7107, 9.6301, 16.8424)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2272 #229E4E
analogous
#8C229E #9E2272 #9E2234
triadic
#9E2272 #729E22 #22729E
tetradic
#9E2272 #9E8C22 #229E4E #22349E
square
#9E2272 #9E8C22 #229E4E #22349E
split-complementary
#9E2272 #349E22 #229E8C
monochromatic
#390C29 #6C174E #9E2272 #D02D96 #DC5EB0

Accessibility & contrast

On white

7.18
#9E2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2272
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2272#FFFFFF#000000##FFFFFF
##9E22721.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#A91E47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2272;
/* rgb */ color: rgb(158, 34, 114);
/* oklch */ color: oklch(48.2% 0.177 346.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b9a',
    500: '#9e2272',
    950: '#000000',
  },
}
SCSS
$custom: #9e2272;
$custom-light: #bf6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2272",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 321.29,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.17652,
    "h": 346.4
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9E2272
secondary
#5BC17F
accent
#E87C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2272

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

Preview Lab → · Contrast checker → · Palette generator →

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