#982277#982277

#982277 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.176 H 341.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#982277
RGBrgb(152, 34, 119)
HSLhsl(317, 63%, 36%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 77.6%, 21.7%, 40.4%)
CIE-LABlab(36.28, 55.56, -20.30)
CIE-LCHlch(36.28, 59.15, 339.93°)
OKLaboklab(47.4% 0.1669 -0.0545)
OKLCHoklch(47.4% 0.176 341.9)
XYZxyz(16.8513, 9.1531, 18.3285)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982277 #229843
analogous
#7E2298 #982277 #98223C
triadic
#982277 #779822 #227798
tetradic
#982277 #987E22 #229843 #223C98
square
#982277 #987E22 #229843 #223C98
split-complementary
#982277 #3C9822 #22987E
monochromatic
#340C29 #661750 #982277 #CA2D9E #DA5AB6

Accessibility & contrast

On white

7.42
#982277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#982277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982277
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982277#FFFFFF#000000##FFFFFF
##9822771.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#A2244A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982277;
/* rgb */ color: rgb(152, 34, 119);
/* oklch */ color: oklch(47.4% 0.176 341.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a9e',
    500: '#982277',
    950: '#000000',
  },
}
SCSS
$custom: #982277;
$custom-light: #ba6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#982277",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 316.78,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.17561,
    "h": 341.9
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#982277
secondary
#57BE74
accent
#E67041
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982277

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

Preview Lab → · Contrast checker → · Palette generator →

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