#972274#972274

#972274 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 343.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#972274
RGBrgb(151, 34, 116)
HSLhsl(318, 63%, 36%)
HSVhsv(318, 77%, 59%)
CMYKcmyk(0%, 77.5%, 23.2%, 40.8%)
CIE-LABlab(35.96, 54.90, -18.92)
CIE-LCHlch(35.96, 58.07, 340.98°)
OKLaboklab(47.09% 0.1655 -0.0507)
OKLCHoklch(47.09% 0.173 343)
XYZxyz(16.4875, 8.9861, 17.3858)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972274 #229745
analogous
#802297 #972274 #97223A
triadic
#972274 #749722 #227497
tetradic
#972274 #978022 #229745 #223A97
square
#972274 #978022 #229745 #223A97
split-complementary
#972274 #3A9722 #229780
monochromatic
#330C27 #65174E #972274 #C92D9A #DA5AB3

Accessibility & contrast

On white

7.51
#972274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#972274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972274
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972274#FFFFFF#000000##FFFFFF
##9722741.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#545B71
Tritanopia (blue-blind)
#A12348
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972274;
/* rgb */ color: rgb(151, 34, 116);
/* oklch */ color: oklch(47.1% 0.173 343.0);
Tailwind
colors: {
  custom: {
    50: '#b96a9c',
    500: '#972274',
    950: '#000000',
  },
}
SCSS
$custom: #972274;
$custom-light: #b96a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#972274",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 317.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.17306,
    "h": 343
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#972274
secondary
#57BE76
accent
#E67342
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972274

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

Preview Lab → · Contrast checker → · Palette generator →

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