#9F226A#9F226A

#9F226A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 350.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F226A
RGBrgb(159, 34, 106)
HSLhsl(325, 65%, 38%)
HSVhsv(325, 79%, 62%)
CMYKcmyk(0%, 78.6%, 33.3%, 37.6%)
CIE-LABlab(37.04, 55.69, -10.83)
CIE-LCHlch(37.04, 56.74, 349.00°)
OKLaboklab(48.01% 0.1706 -0.0282)
OKLCHoklch(48.01% 0.173 350.6)
XYZxyz(17.4726, 9.5577, 14.5576)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F226A #229F57
analogous
#95229F #9F226A #9F222B
triadic
#9F226A #6A9F22 #226A9F
tetradic
#9F226A #9F9522 #229F57 #222B9F
square
#9F226A #9F9522 #229F57 #222B9F
split-complementary
#9F226A #2B9F22 #229F95
monochromatic
#3A0C27 #6D1748 #9F226A #D12D8C #DD5FA7

Accessibility & contrast

On white

7.21
#9F226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F226A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F226A#FFFFFF#000000##FFFFFF
##9F226A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496C
Deuteranopia (green-blind)
#5D5F67
Tritanopia (blue-blind)
#AB1843
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f226a;
/* rgb */ color: rgb(159, 34, 106);
/* oklch */ color: oklch(48.0% 0.173 350.6);
Tailwind
colors: {
  custom: {
    50: '#c06b94',
    500: '#9f226a',
    950: '#000000',
  },
}
SCSS
$custom: #9f226a;
$custom-light: #c06b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f226a",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 325.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.17291,
    "h": 350.6
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#9F226A
secondary
#5BC187
accent
#E88740
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F226A

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

Preview Lab → · Contrast checker → · Palette generator →

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