#98226C#98226C

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

Color values

HEX#98226C
RGBrgb(152, 34, 108)
HSLhsl(322, 63%, 36%)
HSVhsv(322, 78%, 60%)
CMYKcmyk(0%, 77.6%, 28.9%, 40.4%)
CIE-LABlab(35.80, 54.11, -14.10)
CIE-LCHlch(35.80, 55.92, 345.40°)
OKLaboklab(46.89% 0.1648 -0.0372)
OKLCHoklch(46.89% 0.169 347.3)
XYZxyz(16.2285, 8.9040, 15.0485)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98226C #22984E
analogous
#892298 #98226C #982231
triadic
#98226C #6C9822 #226C98
tetradic
#98226C #988922 #22984E #223198
square
#98226C #988922 #22984E #223198
split-complementary
#98226C #319822 #229889
monochromatic
#340C25 #661748 #98226C #CA2D90 #DA5AAA

Accessibility & contrast

On white

7.55
#98226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98226C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98226C#FFFFFF#000000##FFFFFF
##98226C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#575B69
Tritanopia (blue-blind)
#A31D44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98226c;
/* rgb */ color: rgb(152, 34, 108);
/* oklch */ color: oklch(46.9% 0.169 347.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a96',
    500: '#98226c',
    950: '#000000',
  },
}
SCSS
$custom: #98226c;
$custom-light: #ba6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#98226c",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 322.373,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.16896,
    "h": 347.3
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#98226C
secondary
#57BE7E
accent
#E67F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98226C

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

Preview Lab → · Contrast checker → · Palette generator →

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