#9F214F#9F214F

#9F214F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 4.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9F214F
RGBrgb(159, 33, 79)
HSLhsl(338, 66%, 38%)
HSVhsv(338, 79%, 62%)
CMYKcmyk(0%, 79.2%, 50.3%, 37.6%)
CIE-LABlab(36.03, 53.25, 4.97)
CIE-LCHlch(36.03, 53.48, 5.34°)
OKLaboklab(46.98% 0.163 0.0132)
OKLCHoklch(46.98% 0.164 4.6)
XYZxyz(16.2546, 9.0254, 8.2818)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F214F #219F71
analogous
#9F218E #9F214F #9F3221
triadic
#9F214F #4F9F21 #214F9F
tetradic
#9F214F #8E9F21 #219F71 #32219F
square
#9F214F #8E9F21 #219F71 #32219F
split-complementary
#9F214F #219F32 #218E9F
monochromatic
#3A0C1D #6C1636 #9F214F #D22C68 #DD5D8C

Accessibility & contrast

On white

7.49
#9F214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F214F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F214F#FFFFFF#000000##FFFFFF
##9F214F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#625E4C
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f214f;
/* rgb */ color: rgb(159, 33, 79);
/* oklch */ color: oklch(47.0% 0.164 4.6);
Tailwind
colors: {
  custom: {
    50: '#c16a80',
    500: '#9f214f',
    950: '#000000',
  },
}
SCSS
$custom: #9f214f;
$custom-light: #c16a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f214f",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 338.095,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46984,
    "c": 0.16352,
    "h": 4.6
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#9F214F
secondary
#5AC29C
accent
#E9AB3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F214F

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

Preview Lab → · Contrast checker → · Palette generator →

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