#97226E#97226E

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

Color values

HEX#97226E
RGBrgb(151, 34, 110)
HSLhsl(321, 63%, 36%)
HSVhsv(321, 77%, 59%)
CMYKcmyk(0%, 77.5%, 27.2%, 40.8%)
CIE-LABlab(35.70, 54.11, -15.54)
CIE-LCHlch(35.70, 56.30, 343.98°)
OKLaboklab(46.81% 0.1643 -0.0412)
OKLCHoklch(46.81% 0.169 345.9)
XYZxyz(16.1497, 8.8509, 15.6067)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226E #22974B
analogous
#862297 #97226E #972234
triadic
#97226E #6E9722 #226E97
tetradic
#97226E #978622 #22974B #223497
square
#97226E #978622 #22974B #223497
split-complementary
#97226E #349722 #229786
monochromatic
#330C25 #65174A #97226E #C92D92 #DA5AAD

Accessibility & contrast

On white

7.58
#97226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97226E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226E#FFFFFF#000000##FFFFFF
##97226E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#555B6B
Tritanopia (blue-blind)
#A21F45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226e;
/* rgb */ color: rgb(151, 34, 110);
/* oklch */ color: oklch(46.8% 0.169 345.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#97226e',
    950: '#000000',
  },
}
SCSS
$custom: #97226e;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#97226e",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 321.026,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.16942,
    "h": 345.9
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#97226E
secondary
#57BE7B
accent
#E67B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97226E

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

Preview Lab → · Contrast checker → · Palette generator →

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