#972783#972783

#972783 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 336.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#972783
RGBrgb(151, 39, 131)
HSLhsl(311, 59%, 37%)
HSVhsv(311, 74%, 59%)
CMYKcmyk(0%, 74.2%, 13.2%, 40.8%)
CIE-LABlab(37.24, 55.41, -26.28)
CIE-LCHlch(37.24, 61.32, 334.62°)
OKLaboklab(48.25% 0.1626 -0.0716)
OKLCHoklch(48.25% 0.178 336.2)
XYZxyz(17.5850, 9.6706, 22.4088)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972783 #27973B
analogous
#732797 #972783 #97274B
triadic
#972783 #839727 #278397
tetradic
#972783 #977327 #27973B #274B97
square
#972783 #977327 #27973B #274B97
split-complementary
#972783 #4B9727 #279773
monochromatic
#360E2F #661A59 #972783 #C834AD #D662C2

Accessibility & contrast

On white

7.16
#972783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#972783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972783
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972783#FFFFFF#000000##FFFFFF
##9727831.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#9F2F52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972783;
/* rgb */ color: rgb(151, 39, 131);
/* oklch */ color: oklch(48.3% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#b96da7',
    500: '#972783',
    950: '#000000',
  },
}
SCSS
$custom: #972783;
$custom-light: #b96da7;
$custom-dark: #000000;
JSON
{
  "hex": "#972783",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 310.714,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.17765,
    "h": 336.2
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#972783
secondary
#5EBC6F
accent
#E26246
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972783

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

Preview Lab → · Contrast checker → · Palette generator →

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