#97255C#97255C

#97255C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.157 H 355.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#97255C
RGBrgb(151, 37, 92)
HSLhsl(331, 61%, 37%)
HSVhsv(331, 75%, 59%)
CMYKcmyk(0%, 75.5%, 39.1%, 40.8%)
CIE-LABlab(35.35, 50.97, -4.57)
CIE-LCHlch(35.35, 51.17, 354.87°)
OKLaboklab(46.34% 0.1565 -0.0114)
OKLCHoklch(46.34% 0.157 355.8)
XYZxyz(15.3569, 8.6771, 10.9893)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97255C #259760
analogous
#972595 #97255C #972725
triadic
#97255C #5C9725 #255C97
tetradic
#97255C #959725 #259760 #272597
square
#97255C #959725 #259760 #272597
split-complementary
#97255C #259727 #259597
monochromatic
#350D20 #66193E #97255C #C8317A #D85F99

Accessibility & contrast

On white

7.68
#97255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#97255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97255C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97255C#FFFFFF#000000##FFFFFF
##97255C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5B5B59
Tritanopia (blue-blind)
#A3173D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #97255c;
/* rgb */ color: rgb(151, 37, 92);
/* oklch */ color: oklch(46.3% 0.157 355.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a8a',
    500: '#97255c',
    950: '#000000',
  },
}
SCSS
$custom: #97255c;
$custom-light: #ba6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#97255c",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 331.053,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.15689,
    "h": 355.8
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#97255C
secondary
#5BBD8E
accent
#E49744
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #97255C

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

Preview Lab → · Contrast checker → · Palette generator →

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