#97207F#97207F

#97207F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.182 H 337.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97207F
RGBrgb(151, 32, 127)
HSLhsl(312, 65%, 36%)
HSVhsv(312, 79%, 59%)
CMYKcmyk(0%, 78.8%, 15.9%, 40.8%)
CIE-LABlab(36.26, 57.04, -25.33)
CIE-LCHlch(36.26, 62.41, 336.06°)
OKLaboklab(47.48% 0.1688 -0.0688)
OKLCHoklch(47.48% 0.182 337.8)
XYZxyz(17.1102, 9.1463, 20.9389)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97207F #209738
analogous
#732097 #97207F #972043
triadic
#97207F #7F9720 #207F97
tetradic
#97207F #977320 #209738 #204397
square
#97207F #977320 #209738 #204397
split-complementary
#97207F #439720 #209773
monochromatic
#320B2A #641555 #97207F #C92BA9 #DB56C0

Accessibility & contrast

On white

7.42
#97207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#97207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97207F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97207F#FFFFFF#000000##FFFFFF
##97207F1.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)
#254A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#A0274E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97207f;
/* rgb */ color: rgb(151, 32, 127);
/* oklch */ color: oklch(47.5% 0.182 337.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa4',
    500: '#97207f',
    950: '#000000',
  },
}
SCSS
$custom: #97207f;
$custom-light: #b96aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#97207f",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 312.101,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.18233,
    "h": 337.8
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#97207F
secondary
#54BF69
accent
#E86240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97207F

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

Preview Lab → · Contrast checker → · Palette generator →

#97207F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva