#97277A#97277A

#97277A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.171 H 340.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#97277A
RGBrgb(151, 39, 122)
HSLhsl(316, 59%, 37%)
HSVhsv(316, 74%, 59%)
CMYKcmyk(0%, 74.2%, 19.2%, 40.8%)
CIE-LABlab(36.81, 54.08, -21.36)
CIE-LCHlch(36.81, 58.14, 338.45°)
OKLaboklab(47.8% 0.1614 -0.0576)
OKLCHoklch(47.8% 0.171 340.4)
XYZxyz(17.0013, 9.4372, 19.3348)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277A #279744
analogous
#7C2797 #97277A #972742
triadic
#97277A #7A9727 #277A97
tetradic
#97277A #977C27 #279744 #274297
square
#97277A #977C27 #279744 #274297
split-complementary
#97277A #429727 #27977C
monochromatic
#360E2B #661A53 #97277A #C834A1 #D662B8

Accessibility & contrast

On white

7.27
#97277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#97277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97277A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277A#FFFFFF#000000##FFFFFF
##97277A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A02A4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97277a;
/* rgb */ color: rgb(151, 39, 122);
/* oklch */ color: oklch(47.8% 0.171 340.4);
Tailwind
colors: {
  custom: {
    50: '#b96ca0',
    500: '#97277a',
    950: '#000000',
  },
}
SCSS
$custom: #97277a;
$custom-light: #b96ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#97277a",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 315.536,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.17138,
    "h": 340.4
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#97277A
secondary
#5EBC76
accent
#E26E46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #97277A

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

Preview Lab → · Contrast checker → · Palette generator →

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