#97257C#97257C

#97257C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.175 H 339.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#97257C
RGBrgb(151, 37, 124)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 75%, 59%)
CMYKcmyk(0%, 75.5%, 17.9%, 40.8%)
CIE-LABlab(36.67, 55.05, -22.83)
CIE-LCHlch(36.67, 59.59, 337.47°)
OKLaboklab(47.72% 0.1638 -0.0618)
OKLCHoklch(47.72% 0.175 339.3)
XYZxyz(17.0626, 9.3593, 19.9728)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257C #259740
analogous
#792597 #97257C #972543
triadic
#97257C #7C9725 #257C97
tetradic
#97257C #977925 #259740 #254397
square
#97257C #977925 #259740 #254397
split-complementary
#97257C #439725 #259779
monochromatic
#350D2B #661954 #97257C #C831A4 #D85FBB

Accessibility & contrast

On white

7.31
#97257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#97257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97257C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257C#FFFFFF#000000##FFFFFF
##97257C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A02A4E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97257c;
/* rgb */ color: rgb(151, 37, 124);
/* oklch */ color: oklch(47.7% 0.175 339.3);
Tailwind
colors: {
  custom: {
    50: '#b96ca2',
    500: '#97257c',
    950: '#000000',
  },
}
SCSS
$custom: #97257c;
$custom-light: #b96ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#97257c",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 314.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.17502,
    "h": 339.3
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#97257C
secondary
#5BBD72
accent
#E46A44
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97257C

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

Preview Lab → · Contrast checker → · Palette generator →

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