#97257A#97257A

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

Color values

HEX#97257A
RGBrgb(151, 37, 122)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 75%, 59%)
CMYKcmyk(0%, 75.5%, 19.2%, 40.8%)
CIE-LABlab(36.57, 54.76, -21.73)
CIE-LCHlch(36.57, 58.91, 338.36°)
OKLaboklab(47.62% 0.1635 -0.0586)
OKLCHoklch(47.62% 0.174 340.3)
XYZxyz(16.9374, 9.3093, 19.3134)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257A #259742
analogous
#7B2597 #97257A #972541
triadic
#97257A #7A9725 #257A97
tetradic
#97257A #977B25 #259742 #254197
square
#97257A #977B25 #259742 #254197
split-complementary
#97257A #419725 #25977B
monochromatic
#350D2B #661952 #97257A #C831A2 #D85FB9

Accessibility & contrast

On white

7.34
#97257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#97257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97257A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257A#FFFFFF#000000##FFFFFF
##97257A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#525D77
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97257a;
/* rgb */ color: rgb(151, 37, 122);
/* oklch */ color: oklch(47.6% 0.174 340.3);
Tailwind
colors: {
  custom: {
    50: '#b96ba0',
    500: '#97257a',
    950: '#000000',
  },
}
SCSS
$custom: #97257a;
$custom-light: #b96ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#97257a",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 315.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.17367,
    "h": 340.3
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#97257A
secondary
#5BBD74
accent
#E46D44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97257A

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

Preview Lab → · Contrast checker → · Palette generator →

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