#982254#982254

#982254 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.158 H 0.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#982254
RGBrgb(152, 34, 84)
HSLhsl(335, 63%, 36%)
HSVhsv(335, 78%, 60%)
CMYKcmyk(0%, 77.6%, 44.7%, 40.4%)
CIE-LABlab(34.93, 51.42, -0.03)
CIE-LCHlch(34.93, 51.42, 359.97°)
OKLaboklab(45.97% 0.1579 0.0005)
OKLCHoklch(45.97% 0.158 0.2)
XYZxyz(15.1223, 8.4615, 9.2227)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982254 #229866
analogous
#98228F #982254 #982B22
triadic
#982254 #549822 #225498
tetradic
#982254 #8F9822 #229866 #2B2298
square
#982254 #8F9822 #229866 #2B2298
split-complementary
#982254 #22982B #228F98
monochromatic
#340C1D #661738 #982254 #CA2D70 #DA5A90

Accessibility & contrast

On white

7.80
#982254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#982254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982254
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982254#FFFFFF#000000##FFFFFF
##9822541.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#5D5A51
Tritanopia (blue-blind)
#A50B38
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982254;
/* rgb */ color: rgb(152, 34, 84);
/* oklch */ color: oklch(46.0% 0.158 0.2);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#982254',
    950: '#000000',
  },
}
SCSS
$custom: #982254;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#982254",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 334.576,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.15792,
    "h": 0.2
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#982254
secondary
#57BE93
accent
#E6A041
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982254

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

Preview Lab → · Contrast checker → · Palette generator →

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