#97255B#97255B

#97255B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.156 H 356.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#97255B
RGBrgb(151, 37, 91)
HSLhsl(332, 61%, 37%)
HSVhsv(332, 75%, 59%)
CMYKcmyk(0%, 75.5%, 39.7%, 40.8%)
CIE-LABlab(35.32, 50.86, -3.98)
CIE-LCHlch(35.32, 51.02, 355.52°)
OKLaboklab(46.3% 0.1562 -0.0098)
OKLCHoklch(46.3% 0.156 356.4)
XYZxyz(15.3134, 8.6597, 10.7606)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97255B #259761
analogous
#972594 #97255B #972825
triadic
#97255B #5B9725 #255B97
tetradic
#97255B #949725 #259761 #282597
square
#97255B #949725 #259761 #282597
split-complementary
#97255B #259728 #259497
monochromatic
#350D20 #66193D #97255B #C83179 #D85F98

Accessibility & contrast

On white

7.69
#97255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#97255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97255B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97255B#FFFFFF#000000##FFFFFF
##97255B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455C
Deuteranopia (green-blind)
#5B5B58
Tritanopia (blue-blind)
#A3173D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #97255b;
/* rgb */ color: rgb(151, 37, 91);
/* oklch */ color: oklch(46.3% 0.156 356.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a89',
    500: '#97255b',
    950: '#000000',
  },
}
SCSS
$custom: #97255b;
$custom-light: #ba6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#97255b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 331.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.15647,
    "h": 356.4
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#97255B
secondary
#5BBD8E
accent
#E49844
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #97255B

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

Preview Lab → · Contrast checker → · Palette generator →

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