#97227A#97227A

#97227A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.177 H 340.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#97227A
RGBrgb(151, 34, 122)
HSLhsl(315, 63%, 36%)
HSVhsv(315, 77%, 59%)
CMYKcmyk(0%, 77.5%, 19.2%, 40.8%)
CIE-LABlab(36.23, 55.72, -22.26)
CIE-LCHlch(36.23, 60.01, 338.23°)
OKLaboklab(47.38% 0.1664 -0.0601)
OKLCHoklch(47.38% 0.177 340.1)
XYZxyz(16.8479, 9.1302, 19.2836)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97227A #22973F
analogous
#7A2297 #97227A #972240
triadic
#97227A #7A9722 #227A97
tetradic
#97227A #977A22 #22973F #224097
square
#97227A #977A22 #22973F #224097
split-complementary
#97227A #409722 #22977A
monochromatic
#330C29 #651752 #97227A #C92DA2 #DA5ABA

Accessibility & contrast

On white

7.43
#97227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#97227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97227A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97227A#FFFFFF#000000##FFFFFF
##97227A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#A0264C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97227a;
/* rgb */ color: rgb(151, 34, 122);
/* oklch */ color: oklch(47.4% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#b96aa0',
    500: '#97227a',
    950: '#000000',
  },
}
SCSS
$custom: #97227a;
$custom-light: #b96aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#97227a",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 314.872,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.17692,
    "h": 340.1
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#97227A
secondary
#57BE70
accent
#E66A42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97227A

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

Preview Lab → · Contrast checker → · Palette generator →

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