#9E214E#9E214E

#9E214E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 4.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9E214E
RGBrgb(158, 33, 78)
HSLhsl(338, 65%, 37%)
HSVhsv(338, 79%, 62%)
CMYKcmyk(0%, 79.1%, 50.6%, 38%)
CIE-LABlab(35.81, 52.88, 5.27)
CIE-LCHlch(35.81, 53.15, 5.69°)
OKLaboklab(46.77% 0.1618 0.0139)
OKLCHoklch(46.77% 0.162 4.9)
XYZxyz(16.0210, 8.9091, 8.0823)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E214E #219E71
analogous
#9E218D #9E214E #9E3321
triadic
#9E214E #4E9E21 #214E9E
tetradic
#9E214E #8D9E21 #219E71 #33219E
square
#9E214E #8D9E21 #219E71 #33219E
split-complementary
#9E214E #219E33 #218D9E
monochromatic
#390C1C #6B1635 #9E214E #D12C67 #DD5C8B

Accessibility & contrast

On white

7.55
#9E214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E214E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E214E#FFFFFF#000000##FFFFFF
##9E214E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e214e;
/* rgb */ color: rgb(158, 33, 78);
/* oklch */ color: oklch(46.8% 0.162 4.9);
Tailwind
colors: {
  custom: {
    50: '#c0697f',
    500: '#9e214e',
    950: '#000000',
  },
}
SCSS
$custom: #9e214e;
$custom-light: #c0697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e214e",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 338.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.16239,
    "h": 4.9
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#9E214E
secondary
#59C19C
accent
#E8AC3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E214E

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

Preview Lab → · Contrast checker → · Palette generator →

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