#97254E#97254E

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

Color values

HEX#97254E
RGBrgb(151, 37, 78)
HSLhsl(338, 61%, 37%)
HSVhsv(338, 75%, 59%)
CMYKcmyk(0%, 75.5%, 48.3%, 40.8%)
CIE-LABlab(34.91, 49.55, 3.81)
CIE-LCHlch(34.91, 49.70, 4.39°)
OKLaboklab(45.87% 0.1517 0.0103)
OKLCHoklch(45.87% 0.152 3.9)
XYZxyz(14.8004, 8.4545, 8.0588)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97254E #25976E
analogous
#972587 #97254E #973525
triadic
#97254E #4E9725 #254E97
tetradic
#97254E #879725 #25976E #352597
square
#97254E #879725 #25976E #352597
split-complementary
#97254E #259735 #258797
monochromatic
#350D1B #661935 #97254E #C83167 #D85F8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97254E#FFFFFF#000000##FFFFFF
##97254E1.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)
#40444F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A40D36
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97254e;
/* rgb */ color: rgb(151, 37, 78);
/* oklch */ color: oklch(45.9% 0.152 3.9);
Tailwind
colors: {
  custom: {
    50: '#bb6a7f',
    500: '#97254e',
    950: '#000000',
  },
}
SCSS
$custom: #97254e;
$custom-light: #bb6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#97254e",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 338.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.15201,
    "h": 3.9
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#97254E
secondary
#5BBD9A
accent
#E4AA44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #97254E

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

Preview Lab → · Contrast checker → · Palette generator →

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