#982261#982261

#982261 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 353.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#982261
RGBrgb(152, 34, 97)
HSLhsl(328, 63%, 36%)
HSVhsv(328, 78%, 60%)
CMYKcmyk(0%, 77.6%, 36.2%, 40.4%)
CIE-LABlab(35.37, 52.80, -7.74)
CIE-LCHlch(35.37, 53.37, 351.66°)
OKLaboklab(46.44% 0.162 -0.0198)
OKLCHoklch(46.44% 0.163 353)
XYZxyz(15.6796, 8.6844, 12.1575)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982261 #229859
analogous
#942298 #982261 #982226
triadic
#982261 #619822 #226198
tetradic
#982261 #989422 #229859 #222698
square
#982261 #989422 #229859 #222698
split-complementary
#982261 #269822 #229894
monochromatic
#340C21 #661741 #982261 #CA2D81 #DA5A9F

Accessibility & contrast

On white

7.67
#982261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#982261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982261
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982261#FFFFFF#000000##FFFFFF
##9822611.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384663
Deuteranopia (green-blind)
#5A5B5E
Tritanopia (blue-blind)
#A4163E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982261;
/* rgb */ color: rgb(152, 34, 97);
/* oklch */ color: oklch(46.4% 0.163 353.0);
Tailwind
colors: {
  custom: {
    50: '#bb6a8d',
    500: '#982261',
    950: '#000000',
  },
}
SCSS
$custom: #982261;
$custom-light: #bb6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#982261",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 327.966,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46441,
    "c": 0.16323,
    "h": 353
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#982261
secondary
#57BE87
accent
#E68E41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982261

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

Preview Lab → · Contrast checker → · Palette generator →

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