#97226A#97226A

#97226A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.167 H 347.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#97226A
RGBrgb(151, 34, 106)
HSLhsl(323, 63%, 36%)
HSVhsv(323, 77%, 59%)
CMYKcmyk(0%, 77.5%, 29.8%, 40.8%)
CIE-LABlab(35.53, 53.60, -13.26)
CIE-LCHlch(35.53, 55.22, 346.11°)
OKLaboklab(46.64% 0.1635 -0.0349)
OKLCHoklch(46.64% 0.167 347.9)
XYZxyz(15.9369, 8.7658, 14.4856)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226A #22974F
analogous
#8A2297 #97226A #972230
triadic
#97226A #6A9722 #226A97
tetradic
#97226A #978A22 #22974F #223097
square
#97226A #978A22 #22974F #223097
split-complementary
#97226A #309722 #22978A
monochromatic
#330C24 #651747 #97226A #C92D8D #DA5AA8

Accessibility & contrast

On white

7.63
#97226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#97226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97226A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226A#FFFFFF#000000##FFFFFF
##97226A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476C
Deuteranopia (green-blind)
#575B67
Tritanopia (blue-blind)
#A21C43
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226a;
/* rgb */ color: rgb(151, 34, 106);
/* oklch */ color: oklch(46.6% 0.167 347.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a94',
    500: '#97226a',
    950: '#000000',
  },
}
SCSS
$custom: #97226a;
$custom-light: #ba6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#97226a",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 323.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.16713,
    "h": 347.9
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#97226A
secondary
#57BE7E
accent
#E68142
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97226A

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

Preview Lab → · Contrast checker → · Palette generator →

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