#972262#972262

#972262 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.163 H 352.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#972262
RGBrgb(151, 34, 98)
HSLhsl(327, 63%, 36%)
HSVhsv(327, 77%, 59%)
CMYKcmyk(0%, 77.5%, 35.1%, 40.8%)
CIE-LABlab(35.22, 52.65, -8.63)
CIE-LCHlch(35.22, 53.35, 350.69°)
OKLaboklab(46.31% 0.1614 -0.0222)
OKLCHoklch(46.31% 0.163 352.2)
XYZxyz(15.5401, 8.6071, 12.3959)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972262 #229757
analogous
#922297 #972262 #972228
triadic
#972262 #629722 #226297
tetradic
#972262 #979222 #229757 #222897
square
#972262 #979222 #229757 #222897
split-complementary
#972262 #289722 #229792
monochromatic
#330C21 #651742 #972262 #C92D82 #DA5AA0

Accessibility & contrast

On white

7.72
#972262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#972262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972262
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972262#FFFFFF#000000##FFFFFF
##9722621.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384564
Deuteranopia (green-blind)
#595A5F
Tritanopia (blue-blind)
#A3173F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972262;
/* rgb */ color: rgb(151, 34, 98);
/* oklch */ color: oklch(46.3% 0.163 352.2);
Tailwind
colors: {
  custom: {
    50: '#ba698e',
    500: '#972262',
    950: '#000000',
  },
}
SCSS
$custom: #972262;
$custom-light: #ba698e;
$custom-dark: #000000;
JSON
{
  "hex": "#972262",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 327.179,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.16295,
    "h": 352.2
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#972262
secondary
#57BE86
accent
#E68C42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972262

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

Preview Lab → · Contrast checker → · Palette generator →

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