#97254C#97254C

#97254C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.151 H 5.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#97254C
RGBrgb(151, 37, 76)
HSLhsl(339, 61%, 37%)
HSVhsv(339, 75%, 59%)
CMYKcmyk(0%, 75.5%, 49.7%, 40.8%)
CIE-LABlab(34.86, 49.37, 5.02)
CIE-LCHlch(34.86, 49.62, 5.81°)
OKLaboklab(45.81% 0.1509 0.0133)
OKLCHoklch(45.81% 0.151 5)
XYZxyz(14.7298, 8.4262, 7.6869)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97254C #259770
analogous
#972585 #97254C #973725
triadic
#97254C #4C9725 #254C97
tetradic
#97254C #859725 #259770 #372597
square
#97254C #859725 #259770 #372597
split-complementary
#97254C #259737 #258597
monochromatic
#350D1B #661933 #97254C #C83165 #D85F88

Accessibility & contrast

On white

7.82
#97254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#97254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97254C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97254C#FFFFFF#000000##FFFFFF
##97254C1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#5E5A49
Tritanopia (blue-blind)
#A50C35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97254c;
/* rgb */ color: rgb(151, 37, 76);
/* oklch */ color: oklch(45.8% 0.151 5.0);
Tailwind
colors: {
  custom: {
    50: '#bb6a7d',
    500: '#97254c',
    950: '#000000',
  },
}
SCSS
$custom: #97254c;
$custom-light: #bb6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#97254c",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 339.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.15148,
    "h": 5
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#97254C
secondary
#5BBD9B
accent
#E4AD44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #97254C

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

Preview Lab → · Contrast checker → · Palette generator →

#97254C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva