#98528B#98528B

#98528B is a mid, moderate pink. Relative luminance 0.146; OKLCH L 54.1% C 0.119 H 334.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#98528B
RGBrgb(152, 82, 139)
HSLhsl(311, 30%, 46%)
HSVhsv(311, 46%, 60%)
CMYKcmyk(0%, 46.1%, 8.6%, 40.4%)
CIE-LABlab(45.05, 37.33, -19.06)
CIE-LCHlch(45.05, 41.92, 332.95°)
OKLaboklab(54.14% 0.1074 -0.0515)
OKLCHoklch(54.14% 0.119 334.4)
XYZxyz(20.6263, 14.5753, 26.1480)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98528B #52985F
analogous
#825298 #98528B #985268
triadic
#98528B #8B9852 #528B98
tetradic
#98528B #988252 #52985F #526898
square
#98528B #988252 #52985F #526898
split-complementary
#98528B #689852 #529882
monochromatic
#482742 #703D67 #98528B #B473A8 #C99BC1

Accessibility & contrast

On white

5.36
#98528B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#98528B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98528B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98528B#FFFFFF#000000##FFFFFF
##98528B1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648D
Deuteranopia (green-blind)
#656E89
Tritanopia (blue-blind)
#9E5668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #98528b;
/* rgb */ color: rgb(152, 82, 139);
/* oklch */ color: oklch(54.1% 0.119 334.4);
Tailwind
colors: {
  custom: {
    50: '#b885ad',
    500: '#98528b',
    950: '#000000',
  },
}
SCSS
$custom: #98528b;
$custom-light: #b885ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98528b",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 311.143,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.11912,
    "h": 334.4
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#98528B
secondary
#90B697
accent
#C67462
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #98528B

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

Preview Lab → · Contrast checker → · Palette generator →

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