#982283#982283

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

Color values

HEX#982283
RGBrgb(152, 34, 131)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 78%, 60%)
CMYKcmyk(0%, 77.6%, 13.8%, 40.4%)
CIE-LABlab(36.85, 57.26, -26.88)
CIE-LCHlch(36.85, 63.26, 334.86°)
OKLaboklab(48% 0.1684 -0.0733)
OKLCHoklch(48% 0.184 336.5)
XYZxyz(17.6180, 9.4598, 22.3664)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982283 #229837
analogous
#722298 #982283 #982248
triadic
#982283 #839822 #228398
tetradic
#982283 #987222 #229837 #224898
square
#982283 #987222 #229837 #224898
split-complementary
#982283 #489822 #229872
monochromatic
#340C2D #661758 #982283 #CA2DAE #DA5AC3

Accessibility & contrast

On white

7.26
#982283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#982283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982283
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982283#FFFFFF#000000##FFFFFF
##9822831.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A02B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982283;
/* rgb */ color: rgb(152, 34, 131);
/* oklch */ color: oklch(48.0% 0.184 336.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ba7',
    500: '#982283',
    950: '#000000',
  },
}
SCSS
$custom: #982283;
$custom-light: #ba6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#982283",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 310.678,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.18365,
    "h": 336.5
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#982283
secondary
#57BE6A
accent
#E65F41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982283

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

Preview Lab → · Contrast checker → · Palette generator →

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