#972181#972181

#972181 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.183 H 337.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#972181
RGBrgb(151, 33, 129)
HSLhsl(311, 64%, 36%)
HSVhsv(311, 78%, 59%)
CMYKcmyk(0%, 78.1%, 14.6%, 40.8%)
CIE-LABlab(36.47, 57.04, -26.26)
CIE-LCHlch(36.47, 62.79, 335.28°)
OKLaboklab(47.66% 0.1681 -0.0715)
OKLCHoklch(47.66% 0.183 337)
XYZxyz(17.2691, 9.2536, 21.6413)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972181 #219737
analogous
#722197 #972181 #972146
triadic
#972181 #819721 #218197
tetradic
#972181 #977221 #219737 #214697
square
#972181 #977221 #219737 #214697
split-complementary
#972181 #469721 #219772
monochromatic
#330B2B #651656 #972181 #C92CAC #DA58C2

Accessibility & contrast

On white

7.37
#972181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#972181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972181
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972181#FFFFFF#000000##FFFFFF
##9721811.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972181;
/* rgb */ color: rgb(151, 33, 129);
/* oklch */ color: oklch(47.7% 0.183 337.0);
Tailwind
colors: {
  custom: {
    50: '#b96aa6',
    500: '#972181',
    950: '#000000',
  },
}
SCSS
$custom: #972181;
$custom-light: #b96aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#972181",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 311.186,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.18271,
    "h": 337
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#972181
secondary
#55BE69
accent
#E76041
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972181

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

Preview Lab → · Contrast checker → · Palette generator →

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