#97277B#97277B

#97277B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.172 H 339.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#97277B
RGBrgb(151, 39, 123)
HSLhsl(315, 59%, 37%)
HSVhsv(315, 74%, 59%)
CMYKcmyk(0%, 74.2%, 18.5%, 40.8%)
CIE-LABlab(36.86, 54.22, -21.91)
CIE-LCHlch(36.86, 58.48, 338.00°)
OKLaboklab(47.85% 0.1616 -0.0592)
OKLCHoklch(47.85% 0.172 339.9)
XYZxyz(17.0636, 9.4621, 19.6628)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97277B #279743
analogous
#7B2797 #97277B #972743
triadic
#97277B #7B9727 #277B97
tetradic
#97277B #977B27 #279743 #274397
square
#97277B #977B27 #279743 #274397
split-complementary
#97277B #439727 #27977B
monochromatic
#360E2C #661A53 #97277B #C834A3 #D662B9

Accessibility & contrast

On white

7.26
#97277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97277B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97277B#FFFFFF#000000##FFFFFF
##97277B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A02B4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97277b;
/* rgb */ color: rgb(151, 39, 123);
/* oklch */ color: oklch(47.8% 0.172 339.9);
Tailwind
colors: {
  custom: {
    50: '#b96ca1',
    500: '#97277b',
    950: '#000000',
  },
}
SCSS
$custom: #97277b;
$custom-light: #b96ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#97277b",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 315,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.17205,
    "h": 339.9
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#97277B
secondary
#5EBC75
accent
#E26D46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #97277B

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

Preview Lab → · Contrast checker → · Palette generator →

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