#972183#972183

#972183 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.184 H 336.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#972183
RGBrgb(151, 33, 131)
HSLhsl(310, 64%, 36%)
HSVhsv(310, 78%, 59%)
CMYKcmyk(0%, 78.1%, 13.2%, 40.8%)
CIE-LABlab(36.57, 57.33, -27.34)
CIE-LCHlch(36.57, 63.52, 334.51°)
OKLaboklab(47.76% 0.1683 -0.0746)
OKLCHoklch(47.76% 0.184 336.1)
XYZxyz(17.4034, 9.3073, 22.3483)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972183 #219735
analogous
#702197 #972183 #972148
triadic
#972183 #839721 #218397
tetradic
#972183 #977021 #219735 #214897
square
#972183 #977021 #219735 #214897
split-complementary
#972183 #489721 #219770
monochromatic
#330B2C #651657 #972183 #C92CAF #DA58C4

Accessibility & contrast

On white

7.34
#972183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972183
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972183#FFFFFF#000000##FFFFFF
##9721831.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#9F2A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972183;
/* rgb */ color: rgb(151, 33, 131);
/* oklch */ color: oklch(47.8% 0.184 336.1);
Tailwind
colors: {
  custom: {
    50: '#b96aa7',
    500: '#972183',
    950: '#000000',
  },
}
SCSS
$custom: #972183;
$custom-light: #b96aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#972183",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 310.169,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.1841,
    "h": 336.1
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#972183
secondary
#55BE67
accent
#E75D41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972183

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

Preview Lab → · Contrast checker → · Palette generator →

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