#972259#972259

#972259 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.159 H 357.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#972259
RGBrgb(151, 34, 89)
HSLhsl(332, 63%, 36%)
HSVhsv(332, 77%, 59%)
CMYKcmyk(0%, 77.5%, 41.1%, 40.8%)
CIE-LABlab(34.90, 51.65, -3.32)
CIE-LCHlch(34.90, 51.76, 356.32°)
OKLaboklab(45.97% 0.1587 -0.0081)
OKLCHoklch(45.97% 0.159 357.1)
XYZxyz(15.1388, 8.4466, 10.2824)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972259 #229760
analogous
#972294 #972259 #972622
triadic
#972259 #599722 #225997
tetradic
#972259 #949722 #229760 #262297
square
#972259 #949722 #229760 #262297
split-complementary
#972259 #229726 #229497
monochromatic
#330C1E #65173C #972259 #C92D76 #DA5A96

Accessibility & contrast

On white

7.81
#972259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#972259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##972259#FFFFFF#000000##FFFFFF
##9722591.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)
#3B445A
Deuteranopia (green-blind)
#5B5A56
Tritanopia (blue-blind)
#A4103A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972259;
/* rgb */ color: rgb(151, 34, 89);
/* oklch */ color: oklch(46.0% 0.159 357.1);
Tailwind
colors: {
  custom: {
    50: '#ba6987',
    500: '#972259',
    950: '#000000',
  },
}
SCSS
$custom: #972259;
$custom-light: #ba6987;
$custom-dark: #000000;
JSON
{
  "hex": "#972259",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 331.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.15894,
    "h": 357.1
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#972259
secondary
#57BE8D
accent
#E69942
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972259

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

Preview Lab → · Contrast checker → · Palette generator →

#972259 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva