#972255#972255

#972255 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 359.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#972255
RGBrgb(151, 34, 85)
HSLhsl(334, 63%, 36%)
HSVhsv(334, 77%, 59%)
CMYKcmyk(0%, 77.5%, 43.7%, 40.8%)
CIE-LABlab(34.76, 51.24, -0.94)
CIE-LCHlch(34.76, 51.25, 358.95°)
OKLaboklab(45.83% 0.1574 -0.0018)
OKLCHoklch(45.83% 0.157 359.3)
XYZxyz(14.9754, 8.3812, 9.4217)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972255 #229764
analogous
#972290 #972255 #972A22
triadic
#972255 #559722 #225597
tetradic
#972255 #909722 #229764 #2A2297
square
#972255 #909722 #229764 #2A2297
split-complementary
#972255 #22972A #229097
monochromatic
#330C1D #651739 #972255 #C92D71 #DA5A91

Accessibility & contrast

On white

7.85
#972255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#972255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972255
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972255#FFFFFF#000000##FFFFFF
##9722551.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4456
Deuteranopia (green-blind)
#5C5A52
Tritanopia (blue-blind)
#A40D38
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972255;
/* rgb */ color: rgb(151, 34, 85);
/* oklch */ color: oklch(45.8% 0.157 359.3);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#972255',
    950: '#000000',
  },
}
SCSS
$custom: #972255;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#972255",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 333.846,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.15741,
    "h": 359.3
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#972255
secondary
#57BE91
accent
#E69E42
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #972255

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

Preview Lab → · Contrast checker → · Palette generator →

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