#97257F#97257F

#97257F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.177 H 338.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#97257F
RGBrgb(151, 37, 127)
HSLhsl(313, 61%, 37%)
HSVhsv(313, 75%, 59%)
CMYKcmyk(0%, 75.5%, 15.9%, 40.8%)
CIE-LABlab(36.81, 55.48, -24.48)
CIE-LCHlch(36.81, 60.64, 336.19°)
OKLaboklab(47.87% 0.1641 -0.0664)
OKLCHoklch(47.87% 0.177 338)
XYZxyz(17.2552, 9.4364, 20.9872)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257F #25973D
analogous
#762597 #97257F #972546
triadic
#97257F #7F9725 #257F97
tetradic
#97257F #977625 #25973D #254697
square
#97257F #977625 #25973D #254697
split-complementary
#97257F #469725 #259776
monochromatic
#350D2C #661956 #97257F #C831A8 #D85FBE

Accessibility & contrast

On white

7.27
#97257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#97257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97257F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257F#FFFFFF#000000##FFFFFF
##97257F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97257f;
/* rgb */ color: rgb(151, 37, 127);
/* oklch */ color: oklch(47.9% 0.177 338.0);
Tailwind
colors: {
  custom: {
    50: '#b96ca4',
    500: '#97257f',
    950: '#000000',
  },
}
SCSS
$custom: #97257f;
$custom-light: #b96ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#97257f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 312.632,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.17708,
    "h": 338
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#97257F
secondary
#5BBD70
accent
#E46644
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97257F

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

Preview Lab → · Contrast checker → · Palette generator →

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