#97254F#97254F

#97254F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.152 H 3.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#97254F
RGBrgb(151, 37, 79)
HSLhsl(338, 61%, 37%)
HSVhsv(338, 75%, 59%)
CMYKcmyk(0%, 75.5%, 47.7%, 40.8%)
CIE-LABlab(34.94, 49.64, 3.20)
CIE-LCHlch(34.94, 49.75, 3.69°)
OKLaboklab(45.9% 0.152 0.0087)
OKLCHoklch(45.9% 0.152 3.3)
XYZxyz(14.8366, 8.4689, 8.2490)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97254F #25976D
analogous
#972588 #97254F #973425
triadic
#97254F #4F9725 #254F97
tetradic
#97254F #889725 #25976D #342597
square
#97254F #889725 #25976D #342597
split-complementary
#97254F #259734 #258897
monochromatic
#350D1C #661935 #97254F #C83169 #D85F8B

Accessibility & contrast

On white

7.80
#97254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#97254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97254F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97254F#FFFFFF#000000##FFFFFF
##97254F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#5E5A4C
Tritanopia (blue-blind)
#A40E37
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97254f;
/* rgb */ color: rgb(151, 37, 79);
/* oklch */ color: oklch(45.9% 0.152 3.3);
Tailwind
colors: {
  custom: {
    50: '#bb6a80',
    500: '#97254f',
    950: '#000000',
  },
}
SCSS
$custom: #97254f;
$custom-light: #bb6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#97254f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 337.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.15228,
    "h": 3.3
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#97254F
secondary
#5BBD99
accent
#E4A944
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #97254F

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

Preview Lab → · Contrast checker → · Palette generator →

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