#98226F#98226F

#98226F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.171 H 345.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#98226F
RGBrgb(152, 34, 111)
HSLhsl(321, 63%, 36%)
HSVhsv(321, 78%, 60%)
CMYKcmyk(0%, 77.6%, 27%, 40.4%)
CIE-LABlab(35.92, 54.49, -15.80)
CIE-LCHlch(35.92, 56.74, 343.83°)
OKLaboklab(47.03% 0.1655 -0.0419)
OKLCHoklch(47.03% 0.171 345.8)
XYZxyz(16.3909, 8.9690, 15.9038)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98226F #22984B
analogous
#862298 #98226F #982234
triadic
#98226F #6F9822 #226F98
tetradic
#98226F #988622 #22984B #223498
square
#98226F #988622 #22984B #223498
split-complementary
#98226F #349822 #229886
monochromatic
#340C26 #66174A #98226F #CA2D94 #DA5AAE

Accessibility & contrast

On white

7.52
#98226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98226F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98226F#FFFFFF#000000##FFFFFF
##98226F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A31F46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98226f;
/* rgb */ color: rgb(152, 34, 111);
/* oklch */ color: oklch(47.0% 0.171 345.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a98',
    500: '#98226f',
    950: '#000000',
  },
}
SCSS
$custom: #98226f;
$custom-light: #ba6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#98226f",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 320.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.1707,
    "h": 345.8
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#98226F
secondary
#57BE7B
accent
#E67B41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98226F

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

Preview Lab → · Contrast checker → · Palette generator →

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