#9E227F#9E227F

#9E227F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.184 H 340.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E227F
RGBrgb(158, 34, 127)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 78.5%, 19.6%, 38%)
CIE-LABlab(37.75, 58.12, -22.92)
CIE-LCHlch(37.75, 62.47, 338.47°)
OKLaboklab(48.79% 0.1738 -0.0619)
OKLCHoklch(48.79% 0.184 340.4)
XYZxyz(18.5039, 9.9473, 21.0201)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E227F #229E41
analogous
#7F229E #9E227F #9E2241
triadic
#9E227F #7F9E22 #227F9E
tetradic
#9E227F #9E7F22 #229E41 #22419E
square
#9E227F #9E7F22 #229E41 #22419E
split-complementary
#9E227F #419E22 #229E7F
monochromatic
#390C2E #6C1757 #9E227F #D02DA7 #DC5EBD

Accessibility & contrast

On white

7.03
#9E227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E227F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E227F#FFFFFF#000000##FFFFFF
##9E227F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A8264E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e227f;
/* rgb */ color: rgb(158, 34, 127);
/* oklch */ color: oklch(48.8% 0.184 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ca4',
    500: '#9e227f',
    950: '#000000',
  },
}
SCSS
$custom: #9e227f;
$custom-light: #bf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e227f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 315,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.18448,
    "h": 340.4
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#9E227F
secondary
#5BC174
accent
#E86A40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E227F

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

Preview Lab → · Contrast checker → · Palette generator →

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