#982272#982272

#982272 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.172 H 344.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#982272
RGBrgb(152, 34, 114)
HSLhsl(319, 63%, 36%)
HSVhsv(319, 78%, 60%)
CMYKcmyk(0%, 77.6%, 25%, 40.4%)
CIE-LABlab(36.05, 54.88, -17.50)
CIE-LCHlch(36.05, 57.61, 342.32°)
OKLaboklab(47.16% 0.1661 -0.0467)
OKLCHoklch(47.16% 0.172 344.3)
XYZxyz(16.5589, 9.0362, 16.7884)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982272 #229848
analogous
#832298 #982272 #982237
triadic
#982272 #729822 #227298
tetradic
#982272 #988322 #229848 #223798
square
#982272 #988322 #229848 #223798
split-complementary
#982272 #379822 #229883
monochromatic
#340C27 #66174C #982272 #CA2D98 #DA5AB1

Accessibility & contrast

On white

7.48
#982272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#982272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982272
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982272#FFFFFF#000000##FFFFFF
##9822721.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#555C6F
Tritanopia (blue-blind)
#A22147
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982272;
/* rgb */ color: rgb(152, 34, 114);
/* oklch */ color: oklch(47.2% 0.172 344.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a9a',
    500: '#982272',
    950: '#000000',
  },
}
SCSS
$custom: #982272;
$custom-light: #ba6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982272",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 319.322,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.17249,
    "h": 344.3
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#982272
secondary
#57BE79
accent
#E67741
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982272

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

Preview Lab → · Contrast checker → · Palette generator →

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