#9F214A#9F214A

#9F214A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.162 H 7.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9F214A
RGBrgb(159, 33, 74)
HSLhsl(340, 66%, 38%)
HSVhsv(340, 79%, 62%)
CMYKcmyk(0%, 79.2%, 53.5%, 37.6%)
CIE-LABlab(35.90, 52.84, 8.01)
CIE-LCHlch(35.90, 53.44, 8.62°)
OKLaboklab(46.84% 0.1611 0.0206)
OKLCHoklch(46.84% 0.162 7.3)
XYZxyz(16.0795, 8.9553, 7.3591)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F214A #219F76
analogous
#9F2189 #9F214A #9F3721
triadic
#9F214A #4A9F21 #214A9F
tetradic
#9F214A #899F21 #219F76 #37219F
square
#9F214A #899F21 #219F76 #37219F
split-complementary
#9F214A #219F37 #21899F
monochromatic
#3A0C1B #6C1632 #9F214A #D22C62 #DD5D87

Accessibility & contrast

On white

7.53
#9F214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F214A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F214A#FFFFFF#000000##FFFFFF
##9F214A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f214a;
/* rgb */ color: rgb(159, 33, 74);
/* oklch */ color: oklch(46.8% 0.162 7.3);
Tailwind
colors: {
  custom: {
    50: '#c1697c',
    500: '#9f214a',
    950: '#000000',
  },
}
SCSS
$custom: #9f214a;
$custom-light: #c1697c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f214a",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 340.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.16241,
    "h": 7.3
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#9F214A
secondary
#5AC2A0
accent
#E9B13F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F214A

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

Preview Lab → · Contrast checker → · Palette generator →

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