#97254D#97254D

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

Color values

HEX#97254D
RGBrgb(151, 37, 77)
HSLhsl(339, 61%, 37%)
HSVhsv(339, 75%, 59%)
CMYKcmyk(0%, 75.5%, 49%, 40.8%)
CIE-LABlab(34.88, 49.46, 4.41)
CIE-LCHlch(34.88, 49.65, 5.10°)
OKLaboklab(45.84% 0.1513 0.0118)
OKLCHoklch(45.84% 0.152 4.5)
XYZxyz(14.7649, 8.4402, 7.8714)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97254D #25976F
analogous
#972586 #97254D #973625
triadic
#97254D #4D9725 #254D97
tetradic
#97254D #869725 #25976F #362597
square
#97254D #869725 #25976F #362597
split-complementary
#97254D #259736 #258697
monochromatic
#350D1B #661934 #97254D #C83166 #D85F89

Accessibility & contrast

On white

7.81
#97254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97254D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97254D#FFFFFF#000000##FFFFFF
##97254D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#5E5A4A
Tritanopia (blue-blind)
#A50D36
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97254d;
/* rgb */ color: rgb(151, 37, 77);
/* oklch */ color: oklch(45.8% 0.152 4.5);
Tailwind
colors: {
  custom: {
    50: '#bb6a7e',
    500: '#97254d',
    950: '#000000',
  },
}
SCSS
$custom: #97254d;
$custom-light: #bb6a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#97254d",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 338.947,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.15174,
    "h": 4.5
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#97254D
secondary
#5BBD9A
accent
#E4AC44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #97254D

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

Preview Lab → · Contrast checker → · Palette generator →

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