#97277D#97277D

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

Color values

HEX#97277D
RGBrgb(151, 39, 125)
HSLhsl(314, 59%, 37%)
HSVhsv(314, 74%, 59%)
CMYKcmyk(0%, 74.2%, 17.2%, 40.8%)
CIE-LABlab(36.95, 54.51, -23.01)
CIE-LCHlch(36.95, 59.17, 337.11°)
OKLaboklab(47.94% 0.1619 -0.0623)
OKLCHoklch(47.94% 0.173 339)
XYZxyz(17.1901, 9.5127, 20.3289)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277D #279741
analogous
#792797 #97277D #972745
triadic
#97277D #7D9727 #277D97
tetradic
#97277D #977927 #279741 #274597
square
#97277D #977927 #279741 #274597
split-complementary
#97277D #459727 #279779
monochromatic
#360E2C #661A55 #97277D #C834A5 #D662BB

Accessibility & contrast

On white

7.24
#97277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97277D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277D#FFFFFF#000000##FFFFFF
##97277D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97277d;
/* rgb */ color: rgb(151, 39, 125);
/* oklch */ color: oklch(47.9% 0.173 339.0);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97277d',
    950: '#000000',
  },
}
SCSS
$custom: #97277d;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97277d",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 313.929,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.17342,
    "h": 339
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#97277D
secondary
#5EBC74
accent
#E26A46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97277D

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

Preview Lab → · Contrast checker → · Palette generator →

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