#9A214E#9A214E

#9A214E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.159 H 3.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9A214E
RGBrgb(154, 33, 78)
HSLhsl(338, 65%, 37%)
HSVhsv(338, 79%, 60%)
CMYKcmyk(0%, 78.6%, 49.4%, 39.6%)
CIE-LABlab(35.02, 51.75, 4.04)
CIE-LCHlch(35.02, 51.91, 4.47°)
OKLaboklab(46.05% 0.1585 0.0109)
OKLCHoklch(46.05% 0.159 3.9)
XYZxyz(15.2467, 8.5099, 8.0460)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A214E #219A6D
analogous
#9A218B #9A214E #9A3121
triadic
#9A214E #4E9A21 #214E9A
tetradic
#9A214E #8B9A21 #219A6D #31219A
square
#9A214E #8B9A21 #219A6D #31219A
split-complementary
#9A214E #219A31 #218B9A
monochromatic
#350B1B #681634 #9A214E #CC2C68 #DC5A8A

Accessibility & contrast

On white

7.77
#9A214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9A214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A214E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A214E#FFFFFF#000000##FFFFFF
##9A214E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#A80035
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a214e;
/* rgb */ color: rgb(154, 33, 78);
/* oklch */ color: oklch(46.1% 0.159 3.9);
Tailwind
colors: {
  custom: {
    50: '#bd697f',
    500: '#9a214e',
    950: '#000000',
  },
}
SCSS
$custom: #9a214e;
$custom-light: #bd697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a214e",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 337.686,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.15885,
    "h": 3.9
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#9A214E
secondary
#57C099
accent
#E8A940
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A214E

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

Preview Lab → · Contrast checker → · Palette generator →

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