#982276#982276

#982276 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.175 H 342.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#982276
RGBrgb(152, 34, 118)
HSLhsl(317, 63%, 36%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 77.6%, 22.4%, 40.4%)
CIE-LABlab(36.23, 55.42, -19.74)
CIE-LCHlch(36.23, 58.83, 340.40°)
OKLaboklab(47.35% 0.1668 -0.053)
OKLCHoklch(47.35% 0.175 342.4)
XYZxyz(16.7915, 9.1292, 18.0138)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982276 #229844
analogous
#7F2298 #982276 #98223B
triadic
#982276 #769822 #227698
tetradic
#982276 #987F22 #229844 #223B98
square
#982276 #987F22 #229844 #223B98
split-complementary
#982276 #3B9822 #22987F
monochromatic
#340C28 #66174F #982276 #CA2D9D #DA5AB5

Accessibility & contrast

On white

7.43
#982276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982276
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982276#FFFFFF#000000##FFFFFF
##9822761.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#545C73
Tritanopia (blue-blind)
#A2234A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982276;
/* rgb */ color: rgb(152, 34, 118);
/* oklch */ color: oklch(47.3% 0.175 342.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a9d',
    500: '#982276',
    950: '#000000',
  },
}
SCSS
$custom: #982276;
$custom-light: #ba6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#982276",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 317.288,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.17497,
    "h": 342.4
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#982276
secondary
#57BE75
accent
#E67141
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982276

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

Preview Lab → · Contrast checker → · Palette generator →

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