#9E2254#9E2254

#9E2254 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.163 H 1.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9E2254
RGBrgb(158, 34, 84)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 78%, 62%)
CMYKcmyk(0%, 78.5%, 46.8%, 38%)
CIE-LABlab(36.09, 53.12, 1.81)
CIE-LCHlch(36.09, 53.15, 1.95°)
OKLaboklab(47.04% 0.163 0.0052)
OKLCHoklch(47.04% 0.163 1.8)
XYZxyz(16.2741, 9.0554, 9.2767)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2254 #229E6C
analogous
#9E2292 #9E2254 #9E2E22
triadic
#9E2254 #549E22 #22549E
tetradic
#9E2254 #929E22 #229E6C #2E229E
square
#9E2254 #929E22 #229E6C #2E229E
split-complementary
#9E2254 #229E2E #22929E
monochromatic
#390C1E #6C1739 #9E2254 #D02D6F #DC5E91

Accessibility & contrast

On white

7.47
#9E2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E2254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2254
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2254#FFFFFF#000000##FFFFFF
##9E22541.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#615E51
Tritanopia (blue-blind)
#AC0438
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2254;
/* rgb */ color: rgb(158, 34, 84);
/* oklch */ color: oklch(47.0% 0.163 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06a83',
    500: '#9e2254',
    950: '#000000',
  },
}
SCSS
$custom: #9e2254;
$custom-light: #c06a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2254",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 335.806,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.16307,
    "h": 1.8
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#9E2254
secondary
#5BC198
accent
#E8A440
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2254

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

Preview Lab → · Contrast checker → · Palette generator →

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