#98226E#98226E

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

Color values

HEX#98226E
RGBrgb(152, 34, 110)
HSLhsl(321, 63%, 36%)
HSVhsv(321, 78%, 60%)
CMYKcmyk(0%, 77.6%, 27.6%, 40.4%)
CIE-LABlab(35.88, 54.37, -15.24)
CIE-LCHlch(35.88, 56.46, 344.35°)
OKLaboklab(46.98% 0.1653 -0.0404)
OKLCHoklch(46.98% 0.17 346.3)
XYZxyz(16.3362, 8.9471, 15.6155)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98226E #22984C
analogous
#872298 #98226E #982233
triadic
#98226E #6E9822 #226E98
tetradic
#98226E #988722 #22984C #223398
square
#98226E #988722 #22984C #223398
split-complementary
#98226E #339822 #229887
monochromatic
#340C26 #66174A #98226E #CA2D92 #DA5AAD

Accessibility & contrast

On white

7.53
#98226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#98226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98226E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98226E#FFFFFF#000000##FFFFFF
##98226E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#565C6B
Tritanopia (blue-blind)
#A31E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98226e;
/* rgb */ color: rgb(152, 34, 110);
/* oklch */ color: oklch(47.0% 0.170 346.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#98226e',
    950: '#000000',
  },
}
SCSS
$custom: #98226e;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#98226e",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 321.356,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.17011,
    "h": 346.3
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#98226E
secondary
#57BE7C
accent
#E67C41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98226E

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

Preview Lab → · Contrast checker → · Palette generator →

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