#97226F#97226F

#97226F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.170 H 345.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#97226F
RGBrgb(151, 34, 111)
HSLhsl(321, 63%, 36%)
HSVhsv(321, 77%, 59%)
CMYKcmyk(0%, 77.5%, 26.5%, 40.8%)
CIE-LABlab(35.74, 54.24, -16.10)
CIE-LCHlch(35.74, 56.58, 343.46°)
OKLaboklab(46.86% 0.1645 -0.0428)
OKLCHoklch(46.86% 0.17 345.4)
XYZxyz(16.2045, 8.8728, 15.8951)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226F #22974A
analogous
#852297 #97226F #972235
triadic
#97226F #6F9722 #226F97
tetradic
#97226F #978522 #22974A #223597
square
#97226F #978522 #22974A #223597
split-complementary
#97226F #359722 #229785
monochromatic
#330C26 #65174A #97226F #C92D94 #DA5AAE

Accessibility & contrast

On white

7.57
#97226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#97226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97226F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226F#FFFFFF#000000##FFFFFF
##97226F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324771
Deuteranopia (green-blind)
#555B6C
Tritanopia (blue-blind)
#A22046
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226f;
/* rgb */ color: rgb(151, 34, 111);
/* oklch */ color: oklch(46.9% 0.170 345.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a98',
    500: '#97226f',
    950: '#000000',
  },
}
SCSS
$custom: #97226f;
$custom-light: #ba6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#97226f",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 320.513,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.17001,
    "h": 345.4
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#97226F
secondary
#57BE7A
accent
#E67A42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97226F

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

Preview Lab → · Contrast checker → · Palette generator →

#97226F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva