#9F226E#9F226E

#9F226E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.175 H 348.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F226E
RGBrgb(159, 34, 110)
HSLhsl(324, 65%, 38%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 78.6%, 30.8%, 37.6%)
CIE-LABlab(37.19, 56.17, -13.12)
CIE-LCHlch(37.19, 57.68, 346.86°)
OKLaboklab(48.18% 0.1716 -0.0344)
OKLCHoklch(48.18% 0.175 348.6)
XYZxyz(17.6855, 9.6428, 15.6787)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F226E #229F53
analogous
#91229F #9F226E #9F222F
triadic
#9F226E #6E9F22 #226E9F
tetradic
#9F226E #9F9122 #229F53 #222F9F
square
#9F226E #9F9122 #229F53 #222F9F
split-complementary
#9F226E #2F9F22 #229F91
monochromatic
#3A0C28 #6D174B #9F226E #D12D91 #DD5FAB

Accessibility & contrast

On white

7.17
#9F226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F226E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F226E#FFFFFF#000000##FFFFFF
##9F226E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#AB1B45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f226e;
/* rgb */ color: rgb(159, 34, 110);
/* oklch */ color: oklch(48.2% 0.175 348.6);
Tailwind
colors: {
  custom: {
    50: '#c06b97',
    500: '#9f226e',
    950: '#000000',
  },
}
SCSS
$custom: #9f226e;
$custom-light: #c06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f226e",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 323.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.17499,
    "h": 348.6
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#9F226E
secondary
#5BC183
accent
#E88240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F226E

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

Preview Lab → · Contrast checker → · Palette generator →

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