#982255#982255

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

Color values

HEX#982255
RGBrgb(152, 34, 85)
HSLhsl(334, 63%, 36%)
HSVhsv(334, 78%, 60%)
CMYKcmyk(0%, 77.6%, 44.1%, 40.4%)
CIE-LABlab(34.96, 51.52, -0.63)
CIE-LCHlch(34.96, 51.53, 359.30°)
OKLaboklab(46.01% 0.1583 -0.001)
OKLCHoklch(46.01% 0.158 359.6)
XYZxyz(15.1618, 8.4773, 9.4305)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982255 #229865
analogous
#982290 #982255 #982A22
triadic
#982255 #559822 #225598
tetradic
#982255 #909822 #229865 #2A2298
square
#982255 #909822 #229865 #2A2298
split-complementary
#982255 #22982A #229098
monochromatic
#340C1D #661739 #982255 #CA2D71 #DA5A92

Accessibility & contrast

On white

7.79
#982255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#982255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982255
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982255#FFFFFF#000000##FFFFFF
##9822551.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#5D5A52
Tritanopia (blue-blind)
#A50C38
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982255;
/* rgb */ color: rgb(152, 34, 85);
/* oklch */ color: oklch(46.0% 0.158 359.6);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#982255',
    950: '#000000',
  },
}
SCSS
$custom: #982255;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#982255",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 334.068,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.15826,
    "h": 359.6
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#982255
secondary
#57BE92
accent
#E69F41
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982255

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

Preview Lab → · Contrast checker → · Palette generator →

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