#9F214C#9F214C

#9F214C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.163 H 6.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9F214C
RGBrgb(159, 33, 76)
HSLhsl(340, 66%, 38%)
HSVhsv(340, 79%, 62%)
CMYKcmyk(0%, 79.2%, 52.2%, 37.6%)
CIE-LABlab(35.95, 53.00, 6.79)
CIE-LCHlch(35.95, 53.43, 7.30°)
OKLaboklab(46.9% 0.1619 0.0177)
OKLCHoklch(46.9% 0.163 6.2)
XYZxyz(16.1479, 8.9827, 7.7196)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F214C #219F74
analogous
#9F218B #9F214C #9F3521
triadic
#9F214C #4C9F21 #214C9F
tetradic
#9F214C #8B9F21 #219F74 #35219F
square
#9F214C #8B9F21 #219F74 #35219F
split-complementary
#9F214C #219F35 #218B9F
monochromatic
#3A0C1C #6C1634 #9F214C #D22C64 #DD5D89

Accessibility & contrast

On white

7.51
#9F214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9F214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F214C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F214C#FFFFFF#000000##FFFFFF
##9F214C1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454D
Deuteranopia (green-blind)
#635E49
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f214c;
/* rgb */ color: rgb(159, 33, 76);
/* oklch */ color: oklch(46.9% 0.163 6.2);
Tailwind
colors: {
  custom: {
    50: '#c16a7d',
    500: '#9f214c',
    950: '#000000',
  },
}
SCSS
$custom: #9f214c;
$custom-light: #c16a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f214c",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 339.524,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.16282,
    "h": 6.2
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#9F214C
secondary
#5AC29E
accent
#E9AF3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F214C

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

Preview Lab → · Contrast checker → · Palette generator →

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