#97226C#97226C

#97226C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 346.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#97226C
RGBrgb(151, 34, 108)
HSLhsl(322, 63%, 36%)
HSVhsv(322, 77%, 59%)
CMYKcmyk(0%, 77.5%, 28.5%, 40.8%)
CIE-LABlab(35.61, 53.85, -14.40)
CIE-LCHlch(35.61, 55.75, 345.03°)
OKLaboklab(46.72% 0.1639 -0.0381)
OKLCHoklch(46.72% 0.168 346.9)
XYZxyz(16.0421, 8.8079, 15.0397)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226C #22974D
analogous
#882297 #97226C #972232
triadic
#97226C #6C9722 #226C97
tetradic
#97226C #978822 #22974D #223297
square
#97226C #978822 #22974D #223297
split-complementary
#97226C #329722 #229788
monochromatic
#330C25 #651748 #97226C #C92D90 #DA5AAB

Accessibility & contrast

On white

7.61
#97226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#97226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97226C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226C#FFFFFF#000000##FFFFFF
##97226C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#565B69
Tritanopia (blue-blind)
#A21E44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226c;
/* rgb */ color: rgb(151, 34, 108);
/* oklch */ color: oklch(46.7% 0.168 346.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a96',
    500: '#97226c',
    950: '#000000',
  },
}
SCSS
$custom: #97226c;
$custom-light: #ba6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#97226c",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 322.051,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.16826,
    "h": 346.9
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#97226C
secondary
#57BE7D
accent
#E67E42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97226C

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

Preview Lab → · Contrast checker → · Palette generator →

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