#98226B#98226B

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

Color values

HEX#98226B
RGBrgb(152, 34, 107)
HSLhsl(323, 63%, 36%)
HSVhsv(323, 78%, 60%)
CMYKcmyk(0%, 77.6%, 29.6%, 40.4%)
CIE-LABlab(35.76, 53.99, -13.53)
CIE-LCHlch(35.76, 55.66, 345.94°)
OKLaboklab(46.85% 0.1646 -0.0356)
OKLCHoklch(46.85% 0.168 347.8)
XYZxyz(16.1756, 8.8828, 14.7698)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98226B #22984F
analogous
#8A2298 #98226B #982230
triadic
#98226B #6B9822 #226B98
tetradic
#98226B #988A22 #22984F #223098
square
#98226B #988A22 #22984F #223098
split-complementary
#98226B #309822 #22988A
monochromatic
#340C25 #661748 #98226B #CA2D8E #DA5AA9

Accessibility & contrast

On white

7.56
#98226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98226B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98226B#FFFFFF#000000##FFFFFF
##98226B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98226b;
/* rgb */ color: rgb(152, 34, 107);
/* oklch */ color: oklch(46.9% 0.168 347.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a95',
    500: '#98226b',
    950: '#000000',
  },
}
SCSS
$custom: #98226b;
$custom-light: #ba6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#98226b",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 322.881,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.1684,
    "h": 347.8
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#98226B
secondary
#57BE7F
accent
#E68041
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98226B

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

Preview Lab → · Contrast checker → · Palette generator →

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