#97226B#97226B

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

Color values

HEX#97226B
RGBrgb(151, 34, 107)
HSLhsl(323, 63%, 36%)
HSVhsv(323, 77%, 59%)
CMYKcmyk(0%, 77.5%, 29.1%, 40.8%)
CIE-LABlab(35.57, 53.73, -13.83)
CIE-LCHlch(35.57, 55.48, 345.57°)
OKLaboklab(46.68% 0.1637 -0.0365)
OKLCHoklch(46.68% 0.168 347.4)
XYZxyz(15.9892, 8.7867, 14.7610)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97226B #22974E
analogous
#892297 #97226B #972231
triadic
#97226B #6B9722 #226B97
tetradic
#97226B #978922 #22974E #223197
square
#97226B #978922 #22974E #223197
split-complementary
#97226B #319722 #229789
monochromatic
#330C24 #651748 #97226B #C92D8E #DA5AAA

Accessibility & contrast

On white

7.62
#97226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97226B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97226B#FFFFFF#000000##FFFFFF
##97226B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#565B68
Tritanopia (blue-blind)
#A21D44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97226b;
/* rgb */ color: rgb(151, 34, 107);
/* oklch */ color: oklch(46.7% 0.168 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a95',
    500: '#97226b',
    950: '#000000',
  },
}
SCSS
$custom: #97226b;
$custom-light: #ba6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#97226b",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 322.564,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.16769,
    "h": 347.4
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97226B

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

Preview Lab → · Contrast checker → · Palette generator →

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