#98226D#98226D

#98226D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.170 H 346.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#98226D
RGBrgb(152, 34, 109)
HSLhsl(322, 63%, 36%)
HSVhsv(322, 78%, 60%)
CMYKcmyk(0%, 77.6%, 28.3%, 40.4%)
CIE-LABlab(35.84, 54.24, -14.67)
CIE-LCHlch(35.84, 56.19, 344.87°)
OKLaboklab(46.94% 0.165 -0.0388)
OKLCHoklch(46.94% 0.17 346.8)
XYZxyz(16.2820, 8.9254, 15.3304)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98226D #22984D
analogous
#882298 #98226D #982232
triadic
#98226D #6D9822 #226D98
tetradic
#98226D #988822 #22984D #223298
square
#98226D #988822 #22984D #223298
split-complementary
#98226D #329822 #229888
monochromatic
#340C25 #661749 #98226D #CA2D91 #DA5AAC

Accessibility & contrast

On white

7.54
#98226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#98226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98226D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98226D#FFFFFF#000000##FFFFFF
##98226D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#575C6A
Tritanopia (blue-blind)
#A31E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98226d;
/* rgb */ color: rgb(152, 34, 109);
/* oklch */ color: oklch(46.9% 0.170 346.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#98226d',
    950: '#000000',
  },
}
SCSS
$custom: #98226d;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#98226d",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 321.864,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.16953,
    "h": 346.8
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#98226D
secondary
#57BE7D
accent
#E67E41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98226D

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

Preview Lab → · Contrast checker → · Palette generator →

#98226D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva