#97227C#97227C

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

Color values

HEX#97227C
RGBrgb(151, 34, 124)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 77.5%, 17.9%, 40.8%)
CIE-LABlab(36.33, 56.01, -23.36)
CIE-LCHlch(36.33, 60.68, 337.36°)
OKLaboklab(47.48% 0.1667 -0.0632)
OKLCHoklch(47.48% 0.178 339.2)
XYZxyz(16.9731, 9.1803, 19.9430)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97227C #22973D
analogous
#782297 #97227C #972242
triadic
#97227C #7C9722 #227C97
tetradic
#97227C #977822 #22973D #224297
square
#97227C #977822 #22973D #224297
split-complementary
#97227C #429722 #229778
monochromatic
#330C2A #651753 #97227C #C92DA5 #DA5ABC

Accessibility & contrast

On white

7.41
#97227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#97227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97227C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97227C#FFFFFF#000000##FFFFFF
##97227C1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A0274D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97227c;
/* rgb */ color: rgb(151, 34, 124);
/* oklch */ color: oklch(47.5% 0.178 339.2);
Tailwind
colors: {
  custom: {
    50: '#b96aa2',
    500: '#97227c',
    950: '#000000',
  },
}
SCSS
$custom: #97227c;
$custom-light: #b96aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#97227c",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 313.846,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.17826,
    "h": 339.2
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#97227C
secondary
#57BE6F
accent
#E66842
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97227C

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

Preview Lab → · Contrast checker → · Palette generator →

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