#97257D#97257D

#97257D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 338.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#97257D
RGBrgb(151, 37, 125)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 75%, 59%)
CMYKcmyk(0%, 75.5%, 17.2%, 40.8%)
CIE-LABlab(36.71, 55.19, -23.38)
CIE-LCHlch(36.71, 59.94, 337.04°)
OKLaboklab(47.77% 0.1639 -0.0633)
OKLCHoklch(47.77% 0.176 338.9)
XYZxyz(17.1262, 9.3848, 20.3075)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257D #25973F
analogous
#782597 #97257D #972544
triadic
#97257D #7D9725 #257D97
tetradic
#97257D #977825 #25973F #254497
square
#97257D #977825 #25973F #254497
split-complementary
#97257D #449725 #259778
monochromatic
#350D2C #661954 #97257D #C831A6 #D85FBC

Accessibility & contrast

On white

7.30
#97257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#97257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97257D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257D#FFFFFF#000000##FFFFFF
##97257D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A02A4E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97257d;
/* rgb */ color: rgb(151, 37, 125);
/* oklch */ color: oklch(47.8% 0.176 338.9);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97257d',
    950: '#000000',
  },
}
SCSS
$custom: #97257d;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97257d",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 313.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.1757,
    "h": 338.9
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#97257D
secondary
#5BBD71
accent
#E46844
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97257D

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

Preview Lab → · Contrast checker → · Palette generator →

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