#972278#972278

#972278 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 341.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#972278
RGBrgb(151, 34, 120)
HSLhsl(316, 63%, 36%)
HSVhsv(316, 77%, 59%)
CMYKcmyk(0%, 77.5%, 20.5%, 40.8%)
CIE-LABlab(36.14, 55.45, -21.15)
CIE-LCHlch(36.14, 59.34, 339.12°)
OKLaboklab(47.28% 0.1661 -0.057)
OKLCHoklch(47.28% 0.176 341.1)
XYZxyz(16.7252, 9.0811, 18.6377)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972278 #229741
analogous
#7C2297 #972278 #97223E
triadic
#972278 #789722 #227897
tetradic
#972278 #977C22 #229741 #223E97
square
#972278 #977C22 #229741 #223E97
split-complementary
#972278 #3E9722 #22977C
monochromatic
#330C29 #651750 #972278 #C92DA0 #DA5AB8

Accessibility & contrast

On white

7.46
#972278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#972278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972278
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972278#FFFFFF#000000##FFFFFF
##9722781.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#525C75
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972278;
/* rgb */ color: rgb(151, 34, 120);
/* oklch */ color: oklch(47.3% 0.176 341.1);
Tailwind
colors: {
  custom: {
    50: '#b96a9f',
    500: '#972278',
    950: '#000000',
  },
}
SCSS
$custom: #972278;
$custom-light: #b96a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#972278",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 315.897,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47279,
    "c": 0.17562,
    "h": 341.1
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#972278
secondary
#57BE72
accent
#E66D42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972278

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

Preview Lab → · Contrast checker → · Palette generator →

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