#97227B#97227B

#97227B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.178 H 339.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97227B
RGBrgb(151, 34, 123)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 77.5%, 18.5%, 40.8%)
CIE-LABlab(36.28, 55.87, -22.81)
CIE-LCHlch(36.28, 60.34, 337.79°)
OKLaboklab(47.43% 0.1665 -0.0617)
OKLCHoklch(47.43% 0.178 339.7)
XYZxyz(16.9101, 9.1551, 19.6116)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97227B #22973E
analogous
#792297 #97227B #972241
triadic
#97227B #7B9722 #227B97
tetradic
#97227B #977922 #22973E #224197
square
#97227B #977922 #22973E #224197
split-complementary
#97227B #419722 #229779
monochromatic
#330C2A #651752 #97227B #C92DA4 #DA5ABB

Accessibility & contrast

On white

7.42
#97227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97227B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97227B#FFFFFF#000000##FFFFFF
##97227B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A0274C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97227b;
/* rgb */ color: rgb(151, 34, 123);
/* oklch */ color: oklch(47.4% 0.178 339.7);
Tailwind
colors: {
  custom: {
    50: '#b96aa1',
    500: '#97227b',
    950: '#000000',
  },
}
SCSS
$custom: #97227b;
$custom-light: #b96aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#97227b",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 314.359,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.1776,
    "h": 339.7
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#97227B
secondary
#57BE6F
accent
#E66942
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97227B

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

Preview Lab → · Contrast checker → · Palette generator →

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