#97277C#97277C

#97277C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 339.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#97277C
RGBrgb(151, 39, 124)
HSLhsl(314, 59%, 37%)
HSVhsv(314, 74%, 59%)
CMYKcmyk(0%, 74.2%, 17.9%, 40.8%)
CIE-LABlab(36.91, 54.37, -22.46)
CIE-LCHlch(36.91, 58.82, 337.55°)
OKLaboklab(47.9% 0.1617 -0.0607)
OKLCHoklch(47.9% 0.173 339.4)
XYZxyz(17.1265, 9.4872, 19.9941)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277C #279742
analogous
#7A2797 #97277C #972744
triadic
#97277C #7C9727 #277C97
tetradic
#97277C #977A27 #279742 #274497
square
#97277C #977A27 #279742 #274497
split-complementary
#97277C #449727 #27977A
monochromatic
#360E2C #661A54 #97277C #C834A4 #D662BA

Accessibility & contrast

On white

7.25
#97277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#97277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97277C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277C#FFFFFF#000000##FFFFFF
##97277C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A02B4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97277c;
/* rgb */ color: rgb(151, 39, 124);
/* oklch */ color: oklch(47.9% 0.173 339.4);
Tailwind
colors: {
  custom: {
    50: '#b96ca2',
    500: '#97277c',
    950: '#000000',
  },
}
SCSS
$custom: #97277c;
$custom-light: #b96ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#97277c",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 314.464,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.17274,
    "h": 339.4
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#97277C
secondary
#5EBC75
accent
#E26B46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97277C

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

Preview Lab → · Contrast checker → · Palette generator →

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