#9E214F#9E214F

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

Color values

HEX#9E214F
RGBrgb(158, 33, 79)
HSLhsl(338, 65%, 37%)
HSVhsv(338, 79%, 62%)
CMYKcmyk(0%, 79.1%, 50%, 38%)
CIE-LABlab(35.84, 52.97, 4.67)
CIE-LCHlch(35.84, 53.18, 5.03°)
OKLaboklab(46.8% 0.1622 0.0124)
OKLCHoklch(46.8% 0.163 4.4)
XYZxyz(16.0571, 8.9236, 8.2725)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E214F #219E70
analogous
#9E218E #9E214F #9E3221
triadic
#9E214F #4F9E21 #214F9E
tetradic
#9E214F #8E9E21 #219E70 #32219E
square
#9E214F #8E9E21 #219E70 #32219E
split-complementary
#9E214F #219E32 #218E9E
monochromatic
#390C1C #6B1636 #9E214F #D12C68 #DD5C8C

Accessibility & contrast

On white

7.54
#9E214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E214F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E214F#FFFFFF#000000##FFFFFF
##9E214F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404550
Deuteranopia (green-blind)
#625D4C
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e214f;
/* rgb */ color: rgb(158, 33, 79);
/* oklch */ color: oklch(46.8% 0.163 4.4);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9e214f',
    950: '#000000',
  },
}
SCSS
$custom: #9e214f;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9e214f",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 337.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.16264,
    "h": 4.4
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#9E214F
secondary
#59C19B
accent
#E8AA3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E214F

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

Preview Lab → · Contrast checker → · Palette generator →

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