#972273#972273

#972273 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.172 H 343.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#972273
RGBrgb(151, 34, 115)
HSLhsl(318, 63%, 36%)
HSVhsv(318, 77%, 59%)
CMYKcmyk(0%, 77.5%, 23.8%, 40.8%)
CIE-LABlab(35.91, 54.76, -18.36)
CIE-LCHlch(35.91, 57.76, 341.47°)
OKLaboklab(47.04% 0.1653 -0.0491)
OKLCHoklch(47.04% 0.172 343.4)
XYZxyz(16.4297, 8.9629, 17.0811)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972273 #229746
analogous
#812297 #972273 #972239
triadic
#972273 #739722 #227397
tetradic
#972273 #978122 #229746 #223997
square
#972273 #978122 #229746 #223997
split-complementary
#972273 #399722 #229781
monochromatic
#330C27 #65174D #972273 #C92D99 #DA5AB2

Accessibility & contrast

On white

7.52
#972273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#972273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972273
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972273#FFFFFF#000000##FFFFFF
##9722731.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#A12248
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972273;
/* rgb */ color: rgb(151, 34, 115);
/* oklch */ color: oklch(47.0% 0.172 343.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a9b',
    500: '#972273',
    950: '#000000',
  },
}
SCSS
$custom: #972273;
$custom-light: #ba6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#972273",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 318.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.17243,
    "h": 343.4
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#972273
secondary
#57BE77
accent
#E67442
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972273

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

Preview Lab → · Contrast checker → · Palette generator →

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