#9F214E#9F214E

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

Color values

HEX#9F214E
RGBrgb(159, 33, 78)
HSLhsl(339, 66%, 38%)
HSVhsv(339, 79%, 62%)
CMYKcmyk(0%, 79.2%, 50.9%, 37.6%)
CIE-LABlab(36.01, 53.17, 5.58)
CIE-LCHlch(36.01, 53.46, 5.99°)
OKLaboklab(46.95% 0.1626 0.0147)
OKLCHoklch(46.95% 0.163 5.2)
XYZxyz(16.2185, 9.0110, 8.0915)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F214E #219F72
analogous
#9F218D #9F214E #9F3321
triadic
#9F214E #4E9F21 #214E9F
tetradic
#9F214E #8D9F21 #219F72 #33219F
square
#9F214E #8D9F21 #219F72 #33219F
split-complementary
#9F214E #219F33 #218D9F
monochromatic
#3A0C1C #6C1635 #9F214E #D22C67 #DD5D8B

Accessibility & contrast

On white

7.50
#9F214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F214E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F214E#FFFFFF#000000##FFFFFF
##9F214E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454F
Deuteranopia (green-blind)
#625E4B
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f214e;
/* rgb */ color: rgb(159, 33, 78);
/* oklch */ color: oklch(47.0% 0.163 5.2);
Tailwind
colors: {
  custom: {
    50: '#c16a7f',
    500: '#9f214e',
    950: '#000000',
  },
}
SCSS
$custom: #9f214e;
$custom-light: #c16a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f214e",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 338.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.16327,
    "h": 5.2
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#9F214E
secondary
#5AC29D
accent
#E9AC3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F214E

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

Preview Lab → · Contrast checker → · Palette generator →

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