#97227E#97227E

#97227E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.180 H 338.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#97227E
RGBrgb(151, 34, 126)
HSLhsl(313, 63%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 77.5%, 16.6%, 40.8%)
CIE-LABlab(36.43, 56.29, -24.45)
CIE-LCHlch(36.43, 61.38, 336.52°)
OKLaboklab(47.58% 0.1669 -0.0664)
OKLCHoklch(47.58% 0.18 338.3)
XYZxyz(17.1008, 9.2314, 20.6158)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97227E #22973B
analogous
#762297 #97227E #972244
triadic
#97227E #7E9722 #227E97
tetradic
#97227E #977622 #22973B #224497
square
#97227E #977622 #22973B #224497
split-complementary
#97227E #449722 #229776
monochromatic
#330C2B #651754 #97227E #C92DA8 #DA5ABE

Accessibility & contrast

On white

7.38
#97227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#97227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97227E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97227E#FFFFFF#000000##FFFFFF
##97227E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A0284E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97227e;
/* rgb */ color: rgb(151, 34, 126);
/* oklch */ color: oklch(47.6% 0.180 338.3);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#97227e',
    950: '#000000',
  },
}
SCSS
$custom: #97227e;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#97227e",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 312.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.17962,
    "h": 338.3
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#97227E
secondary
#57BE6D
accent
#E66542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97227E

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

Preview Lab → · Contrast checker → · Palette generator →

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