#97257B#97257B

#97257B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.174 H 339.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#97257B
RGBrgb(151, 37, 123)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 75%, 59%)
CMYKcmyk(0%, 75.5%, 18.5%, 40.8%)
CIE-LABlab(36.62, 54.90, -22.28)
CIE-LCHlch(36.62, 59.25, 337.91°)
OKLaboklab(47.67% 0.1636 -0.0602)
OKLCHoklch(47.67% 0.174 339.8)
XYZxyz(16.9997, 9.3342, 19.6414)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257B #259741
analogous
#7A2597 #97257B #972542
triadic
#97257B #7B9725 #257B97
tetradic
#97257B #977A25 #259741 #254297
square
#97257B #977A25 #259741 #254297
split-complementary
#97257B #429725 #25977A
monochromatic
#350D2B #661953 #97257B #C831A3 #D85FBA

Accessibility & contrast

On white

7.33
#97257B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97257B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257B#FFFFFF#000000##FFFFFF
##97257B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A0294D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97257b;
/* rgb */ color: rgb(151, 37, 123);
/* oklch */ color: oklch(47.7% 0.174 339.8);
Tailwind
colors: {
  custom: {
    50: '#b96ca1',
    500: '#97257b',
    950: '#000000',
  },
}
SCSS
$custom: #97257b;
$custom-light: #b96ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#97257b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 123
  },
  "hsl": {
    "h": 314.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.17434,
    "h": 339.8
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#97257B
secondary
#5BBD73
accent
#E46B44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97257B

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

Preview Lab → · Contrast checker → · Palette generator →

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