#9E2274#9E2274

#9E2274 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 345.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E2274
RGBrgb(158, 34, 116)
HSLhsl(320, 65%, 38%)
HSVhsv(320, 78%, 62%)
CMYKcmyk(0%, 78.5%, 26.6%, 38%)
CIE-LABlab(37.25, 56.66, -16.81)
CIE-LCHlch(37.25, 59.10, 343.47°)
OKLaboklab(48.27% 0.172 -0.0447)
OKLCHoklch(48.27% 0.178 345.4)
XYZxyz(17.8258, 9.6761, 17.4485)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2274 #229E4C
analogous
#8A229E #9E2274 #9E2236
triadic
#9E2274 #749E22 #22749E
tetradic
#9E2274 #9E8A22 #229E4C #22369E
square
#9E2274 #9E8A22 #229E4C #22369E
split-complementary
#9E2274 #369E22 #229E8A
monochromatic
#390C2A #6C174F #9E2274 #D02D99 #DC5EB2

Accessibility & contrast

On white

7.16
#9E2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2274
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2274#FFFFFF#000000##FFFFFF
##9E22741.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A91F49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2274;
/* rgb */ color: rgb(158, 34, 116);
/* oklch */ color: oklch(48.3% 0.178 345.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b9c',
    500: '#9e2274',
    950: '#000000',
  },
}
SCSS
$custom: #9e2274;
$custom-light: #bf6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2274",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 320.323,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.17768,
    "h": 345.4
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#9E2274
secondary
#5BC17D
accent
#E87940
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2274

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

Preview Lab → · Contrast checker → · Palette generator →

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