#97277F#97277F

#97277F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.175 H 338.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#97277F
RGBrgb(151, 39, 127)
HSLhsl(313, 59%, 37%)
HSVhsv(313, 74%, 59%)
CMYKcmyk(0%, 74.2%, 15.9%, 40.8%)
CIE-LABlab(37.05, 54.81, -24.11)
CIE-LCHlch(37.05, 59.87, 336.26°)
OKLaboklab(48.05% 0.1621 -0.0654)
OKLCHoklch(48.05% 0.175 338)
XYZxyz(17.3192, 9.5643, 21.0085)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277F #27973F
analogous
#772797 #97277F #972747
triadic
#97277F #7F9727 #277F97
tetradic
#97277F #977727 #27973F #274797
square
#97277F #977727 #27973F #274797
split-complementary
#97277F #479727 #279777
monochromatic
#360E2D #661A56 #97277F #C834A8 #D662BD

Accessibility & contrast

On white

7.21
#97277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97277F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277F#FFFFFF#000000##FFFFFF
##97277F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9F2D50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97277f;
/* rgb */ color: rgb(151, 39, 127);
/* oklch */ color: oklch(48.0% 0.175 338.0);
Tailwind
colors: {
  custom: {
    50: '#b96da4',
    500: '#97277f',
    950: '#000000',
  },
}
SCSS
$custom: #97277f;
$custom-light: #b96da4;
$custom-dark: #000000;
JSON
{
  "hex": "#97277f",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 312.857,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.17481,
    "h": 338
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#97277F
secondary
#5EBC72
accent
#E26746
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97277F

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

Preview Lab → · Contrast checker → · Palette generator →

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