#97257E#97257E

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

Color values

HEX#97257E
RGBrgb(151, 37, 126)
HSLhsl(313, 61%, 37%)
HSVhsv(313, 75%, 59%)
CMYKcmyk(0%, 75.5%, 16.6%, 40.8%)
CIE-LABlab(36.76, 55.34, -23.93)
CIE-LCHlch(36.76, 60.29, 336.61°)
OKLaboklab(47.82% 0.164 -0.0649)
OKLCHoklch(47.82% 0.176 338.4)
XYZxyz(17.1904, 9.4104, 20.6457)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97257E #25973E
analogous
#772597 #97257E #972545
triadic
#97257E #7E9725 #257E97
tetradic
#97257E #977725 #25973E #254597
square
#97257E #977725 #25973E #254597
split-complementary
#97257E #459725 #259777
monochromatic
#350D2C #661955 #97257E #C831A7 #D85FBD

Accessibility & contrast

On white

7.29
#97257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97257E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97257E#FFFFFF#000000##FFFFFF
##97257E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97257e;
/* rgb */ color: rgb(151, 37, 126);
/* oklch */ color: oklch(47.8% 0.176 338.4);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97257e',
    950: '#000000',
  },
}
SCSS
$custom: #97257e;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97257e",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 313.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.17639,
    "h": 338.4
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97257E

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

Preview Lab → · Contrast checker → · Palette generator →

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