#982180#982180

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

Color values

HEX#982180
RGBrgb(152, 33, 128)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 78.3%, 15.8%, 40.4%)
CIE-LABlab(36.60, 57.13, -25.42)
CIE-LCHlch(36.60, 62.52, 336.02°)
OKLaboklab(47.77% 0.169 -0.0691)
OKLCHoklch(47.77% 0.183 337.8)
XYZxyz(17.3894, 9.3233, 21.3016)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982180 #219839
analogous
#752198 #982180 #982145
triadic
#982180 #809821 #218098
tetradic
#982180 #987521 #219839 #214598
square
#982180 #987521 #219839 #214598
split-complementary
#982180 #459821 #219875
monochromatic
#330B2B #661656 #982180 #CA2CAA #DB59C1

Accessibility & contrast

On white

7.33
#982180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#982180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982180
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982180#FFFFFF#000000##FFFFFF
##9821801.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A83
Deuteranopia (green-blind)
#505D7D
Tritanopia (blue-blind)
#A1284F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982180;
/* rgb */ color: rgb(152, 33, 128);
/* oklch */ color: oklch(47.8% 0.183 337.8);
Tailwind
colors: {
  custom: {
    50: '#ba6aa5',
    500: '#982180',
    950: '#000000',
  },
}
SCSS
$custom: #982180;
$custom-light: #ba6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#982180",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 312.101,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.18259,
    "h": 337.8
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#982180
secondary
#56BF6B
accent
#E76240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982180

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

Preview Lab → · Contrast checker → · Palette generator →

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