#982284#982284

#982284 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 336.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#982284
RGBrgb(152, 34, 132)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 78%, 60%)
CMYKcmyk(0%, 77.6%, 13.2%, 40.4%)
CIE-LABlab(36.91, 57.41, -27.42)
CIE-LCHlch(36.91, 63.62, 334.47°)
OKLaboklab(48.06% 0.1685 -0.0748)
OKLCHoklch(48.06% 0.184 336.1)
XYZxyz(17.6861, 9.4870, 22.7250)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982284 #229836
analogous
#712298 #982284 #982249
triadic
#982284 #849822 #228498
tetradic
#982284 #987122 #229836 #224998
square
#982284 #987122 #229836 #224998
split-complementary
#982284 #499822 #229871
monochromatic
#340C2D #661759 #982284 #CA2DAF #DA5AC4

Accessibility & contrast

On white

7.25
#982284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982284
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982284#FFFFFF#000000##FFFFFF
##9822841.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#A02B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982284;
/* rgb */ color: rgb(152, 34, 132);
/* oklch */ color: oklch(48.1% 0.184 336.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ba8',
    500: '#982284',
    950: '#000000',
  },
}
SCSS
$custom: #982284;
$custom-light: #ba6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#982284",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 310.169,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.18435,
    "h": 336.1
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#982284
secondary
#57BE69
accent
#E65D41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982284

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

Preview Lab → · Contrast checker → · Palette generator →

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