#97227D#97227D

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

Color values

HEX#97227D
RGBrgb(151, 34, 125)
HSLhsl(313, 63%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 77.5%, 17.2%, 40.8%)
CIE-LABlab(36.38, 56.15, -23.91)
CIE-LCHlch(36.38, 61.03, 336.94°)
OKLaboklab(47.53% 0.1668 -0.0648)
OKLCHoklch(47.53% 0.179 338.8)
XYZxyz(17.0366, 9.2057, 20.2777)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97227D #22973C
analogous
#772297 #97227D #972243
triadic
#97227D #7D9722 #227D97
tetradic
#97227D #977722 #22973C #224397
square
#97227D #977722 #22973C #224397
split-complementary
#97227D #439722 #229777
monochromatic
#330C2A #651754 #97227D #C92DA6 #DA5ABD

Accessibility & contrast

On white

7.39
#97227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97227D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97227D#FFFFFF#000000##FFFFFF
##97227D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97227d;
/* rgb */ color: rgb(151, 34, 125);
/* oklch */ color: oklch(47.5% 0.179 338.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#97227d',
    950: '#000000',
  },
}
SCSS
$custom: #97227d;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#97227d",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 313.333,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.17894,
    "h": 338.8
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#97227D
secondary
#57BE6E
accent
#E66642
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97227D

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

Preview Lab → · Contrast checker → · Palette generator →

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