#9F214B#9F214B

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

Color values

HEX#9F214B
RGBrgb(159, 33, 75)
HSLhsl(340, 66%, 38%)
HSVhsv(340, 79%, 62%)
CMYKcmyk(0%, 79.2%, 52.8%, 37.6%)
CIE-LABlab(35.92, 52.92, 7.40)
CIE-LCHlch(35.92, 53.43, 7.96°)
OKLaboklab(46.87% 0.1615 0.0192)
OKLCHoklch(46.87% 0.163 6.8)
XYZxyz(16.1134, 8.9689, 7.5379)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F214B #219F75
analogous
#9F218A #9F214B #9F3621
triadic
#9F214B #4B9F21 #214B9F
tetradic
#9F214B #8A9F21 #219F75 #36219F
square
#9F214B #8A9F21 #219F75 #36219F
split-complementary
#9F214B #219F36 #218A9F
monochromatic
#3A0C1B #6C1633 #9F214B #D22C63 #DD5D88

Accessibility & contrast

On white

7.52
#9F214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F214B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F214B#FFFFFF#000000##FFFFFF
##9F214B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#635D48
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f214b;
/* rgb */ color: rgb(159, 33, 75);
/* oklch */ color: oklch(46.9% 0.163 6.8);
Tailwind
colors: {
  custom: {
    50: '#c16a7d',
    500: '#9f214b',
    950: '#000000',
  },
}
SCSS
$custom: #9f214b;
$custom-light: #c16a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f214b",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 340,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.16261,
    "h": 6.8
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#9F214B
secondary
#5AC29F
accent
#E9B03F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F214B

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

Preview Lab → · Contrast checker → · Palette generator →

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