#97255E#97255E

#97255E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.158 H 354.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#97255E
RGBrgb(151, 37, 94)
HSLhsl(330, 61%, 37%)
HSVhsv(330, 75%, 59%)
CMYKcmyk(0%, 75.5%, 37.7%, 40.8%)
CIE-LABlab(35.42, 51.19, -5.75)
CIE-LCHlch(35.42, 51.51, 353.59°)
OKLaboklab(46.41% 0.1571 -0.0145)
OKLCHoklch(46.41% 0.158 354.7)
XYZxyz(15.4454, 8.7125, 11.4558)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97255E #25975E
analogous
#972597 #97255E #972525
triadic
#97255E #5E9725 #255E97
tetradic
#97255E #979725 #25975E #252597
square
#97255E #979725 #25975E #252597
split-complementary
#97255E #259725 #259797
monochromatic
#350D21 #66193F #97255E #C8317D #D85F9B

Accessibility & contrast

On white

7.66
#97255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#97255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97255E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97255E#FFFFFF#000000##FFFFFF
##97255E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#5B5B5B
Tritanopia (blue-blind)
#A3193E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #97255e;
/* rgb */ color: rgb(151, 37, 94);
/* oklch */ color: oklch(46.4% 0.158 354.7);
Tailwind
colors: {
  custom: {
    50: '#ba6b8b',
    500: '#97255e',
    950: '#000000',
  },
}
SCSS
$custom: #97255e;
$custom-light: #ba6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#97255e",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 330,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.15776,
    "h": 354.7
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#97255E
secondary
#5BBD8C
accent
#E49444
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #97255E

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

Preview Lab → · Contrast checker → · Palette generator →

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