#97254B#97254B

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

Color values

HEX#97254B
RGBrgb(151, 37, 75)
HSLhsl(340, 61%, 37%)
HSVhsv(340, 75%, 59%)
CMYKcmyk(0%, 75.5%, 50.3%, 40.8%)
CIE-LABlab(34.83, 49.28, 5.63)
CIE-LCHlch(34.83, 49.60, 6.52°)
OKLaboklab(45.78% 0.1505 0.0148)
OKLCHoklch(45.78% 0.151 5.6)
XYZxyz(14.6953, 8.4124, 7.5052)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97254B #259771
analogous
#972584 #97254B #973825
triadic
#97254B #4B9725 #254B97
tetradic
#97254B #849725 #259771 #382597
square
#97254B #849725 #259771 #382597
split-complementary
#97254B #259738 #258497
monochromatic
#350D1A #661933 #97254B #C83163 #D85F87

Accessibility & contrast

On white

7.83
#97254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97254B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97254B#FFFFFF#000000##FFFFFF
##97254B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434C
Deuteranopia (green-blind)
#5F5A48
Tritanopia (blue-blind)
#A50B35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97254b;
/* rgb */ color: rgb(151, 37, 75);
/* oklch */ color: oklch(45.8% 0.151 5.6);
Tailwind
colors: {
  custom: {
    50: '#bb6a7d',
    500: '#97254b',
    950: '#000000',
  },
}
SCSS
$custom: #97254b;
$custom-light: #bb6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#97254b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 340,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.15125,
    "h": 5.6
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#97254B
secondary
#5BBD9C
accent
#E4AF44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #97254B

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

Preview Lab → · Contrast checker → · Palette generator →

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