#982183#982183

#982183 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 336.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#982183
RGBrgb(152, 33, 131)
HSLhsl(311, 64%, 36%)
HSVhsv(311, 78%, 60%)
CMYKcmyk(0%, 78.3%, 13.8%, 40.4%)
CIE-LABlab(36.75, 57.56, -27.04)
CIE-LCHlch(36.75, 63.60, 334.84°)
OKLaboklab(47.93% 0.1693 -0.0737)
OKLCHoklch(47.93% 0.185 336.5)
XYZxyz(17.5898, 9.4035, 22.3570)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982183 #219836
analogous
#722198 #982183 #982148
triadic
#982183 #839821 #218398
tetradic
#982183 #987221 #219836 #214898
square
#982183 #987221 #219836 #214898
split-complementary
#982183 #489821 #219872
monochromatic
#330B2C #661658 #982183 #CA2CAE #DB59C4

Accessibility & contrast

On white

7.29
#982183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#982183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982183
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982183#FFFFFF#000000##FFFFFF
##9821831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#4E5D80
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982183;
/* rgb */ color: rgb(152, 33, 131);
/* oklch */ color: oklch(47.9% 0.185 336.5);
Tailwind
colors: {
  custom: {
    50: '#ba6aa7',
    500: '#982183',
    950: '#000000',
  },
}
SCSS
$custom: #982183;
$custom-light: #ba6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#982183",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 310.588,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.18467,
    "h": 336.5
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#982183
secondary
#56BF68
accent
#E75E40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982183

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

Preview Lab → · Contrast checker → · Palette generator →

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