#97226D#97226D

#97226D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.169 H 346.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#97226D
RGBrgb(151, 34, 109)
HSLhsl(322, 63%, 36%)
HSVhsv(322, 77%, 59%)
CMYKcmyk(0%, 77.5%, 27.8%, 40.8%)
CIE-LABlab(35.65, 53.98, -14.97)
CIE-LCHlch(35.65, 56.02, 344.50°)
OKLaboklab(46.77% 0.1641 -0.0396)
OKLCHoklch(46.77% 0.169 346.4)
XYZxyz(16.0956, 8.8293, 15.3216)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226D #22974C
analogous
#872297 #97226D #972233
triadic
#97226D #6D9722 #226D97
tetradic
#97226D #978722 #22974C #223397
square
#97226D #978722 #22974C #223397
split-complementary
#97226D #339722 #229787
monochromatic
#330C25 #651749 #97226D #C92D91 #DA5AAC

Accessibility & contrast

On white

7.59
#97226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97226D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226D#FFFFFF#000000##FFFFFF
##97226D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#565B6A
Tritanopia (blue-blind)
#A21E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226d;
/* rgb */ color: rgb(151, 34, 109);
/* oklch */ color: oklch(46.8% 0.169 346.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#97226d',
    950: '#000000',
  },
}
SCSS
$custom: #97226d;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#97226d",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 321.538,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.16883,
    "h": 346.4
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#97226D
secondary
#57BE7C
accent
#E67D42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97226D

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

Preview Lab → · Contrast checker → · Palette generator →

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