#98477D#98477D

#98477D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 51.9% C 0.127 H 341.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#98477D
RGBrgb(152, 71, 125)
HSLhsl(320, 36%, 44%)
HSVhsv(320, 53%, 60%)
CMYKcmyk(0%, 53.3%, 17.8%, 40.4%)
CIE-LABlab(42.25, 40.77, -14.84)
CIE-LCHlch(42.25, 43.39, 340.00°)
OKLaboklab(51.87% 0.1208 -0.0396)
OKLCHoklch(51.87% 0.127 341.9)
XYZxyz(18.9041, 12.6640, 20.8468)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98477D #479862
analogous
#8A4798 #98477D #984754
triadic
#98477D #7D9847 #477D98
tetradic
#98477D #988A47 #479862 #475498
square
#98477D #988A47 #479862 #475498
split-complementary
#98477D #549847 #47988A
monochromatic
#452038 #6E345B #98477D #B7659C #CB8FB7

Accessibility & contrast

On white

5.94
#98477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#98477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98477D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98477D#FFFFFF#000000##FFFFFF
##98477D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#62697B
Tritanopia (blue-blind)
#A0485C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #98477d;
/* rgb */ color: rgb(152, 71, 125);
/* oklch */ color: oklch(51.9% 0.127 341.9);
Tailwind
colors: {
  custom: {
    50: '#b87da2',
    500: '#98477d',
    950: '#000000',
  },
}
SCSS
$custom: #98477d;
$custom-light: #b87da2;
$custom-dark: #000000;
JSON
{
  "hex": "#98477d",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 320,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.12716,
    "h": 341.9
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#98477D
secondary
#85B695
accent
#CC815B
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #98477D

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

Preview Lab → · Contrast checker → · Palette generator →

#98477D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva