#972283#972283

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

Color values

HEX#972283
RGBrgb(151, 34, 131)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 77%, 59%)
CMYKcmyk(0%, 77.5%, 13.2%, 40.8%)
CIE-LABlab(36.68, 57.03, -27.17)
CIE-LCHlch(36.68, 63.17, 334.52°)
OKLaboklab(47.84% 0.1674 -0.0741)
OKLCHoklch(47.84% 0.183 336.1)
XYZxyz(17.4315, 9.3637, 22.3576)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972283 #229736
analogous
#712297 #972283 #972249
triadic
#972283 #839722 #228397
tetradic
#972283 #977122 #229736 #224997
square
#972283 #977122 #229736 #224997
split-complementary
#972283 #499722 #229771
monochromatic
#330C2C #651758 #972283 #C92DAE #DA5AC4

Accessibility & contrast

On white

7.31
#972283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#972283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972283
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972283#FFFFFF#000000##FFFFFF
##9722831.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#9F2B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972283;
/* rgb */ color: rgb(151, 34, 131);
/* oklch */ color: oklch(47.8% 0.183 336.1);
Tailwind
colors: {
  custom: {
    50: '#b96ba7',
    500: '#972283',
    950: '#000000',
  },
}
SCSS
$custom: #972283;
$custom-light: #b96ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#972283",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 310.256,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.18309,
    "h": 336.1
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#972283
secondary
#57BE68
accent
#E65E42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972283

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

Preview Lab → · Contrast checker → · Palette generator →

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