#97277E#97277E

#97277E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.174 H 338.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#97277E
RGBrgb(151, 39, 126)
HSLhsl(313, 59%, 37%)
HSVhsv(313, 74%, 59%)
CMYKcmyk(0%, 74.2%, 16.6%, 40.8%)
CIE-LABlab(37.00, 54.66, -23.56)
CIE-LCHlch(37.00, 59.52, 336.68°)
OKLaboklab(47.99% 0.162 -0.0638)
OKLCHoklch(47.99% 0.174 338.5)
XYZxyz(17.2543, 9.5383, 20.6670)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277E #279740
analogous
#782797 #97277E #972746
triadic
#97277E #7E9727 #277E97
tetradic
#97277E #977827 #279740 #274697
square
#97277E #977827 #279740 #274697
split-complementary
#97277E #469727 #279778
monochromatic
#360E2D #661A55 #97277E #C834A7 #D662BC

Accessibility & contrast

On white

7.22
#97277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#97277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97277E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277E#FFFFFF#000000##FFFFFF
##97277E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A02C4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97277e;
/* rgb */ color: rgb(151, 39, 126);
/* oklch */ color: oklch(48.0% 0.174 338.5);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97277e',
    950: '#000000',
  },
}
SCSS
$custom: #97277e;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97277e",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 313.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.17412,
    "h": 338.5
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#97277E
secondary
#5EBC73
accent
#E26946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97277E

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

Preview Lab → · Contrast checker → · Palette generator →

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