#98507D#98507D

#98507D is a mid, moderate pink. Relative luminance 0.139; OKLCH L 53.2% C 0.111 H 343.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#98507D
RGBrgb(152, 80, 125)
HSLhsl(323, 31%, 45%)
HSVhsv(323, 47%, 60%)
CMYKcmyk(0%, 47.4%, 17.8%, 40.4%)
CIE-LABlab(44.08, 36.02, -12.06)
CIE-LCHlch(44.08, 37.99, 341.49°)
OKLaboklab(53.24% 0.1067 -0.032)
OKLCHoklch(53.24% 0.111 343.3)
XYZxyz(19.5195, 13.8948, 21.0519)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98507D #50986B
analogous
#8F5098 #98507D #985059
triadic
#98507D #7D9850 #507D98
tetradic
#98507D #988F50 #50986B #505998
square
#98507D #988F50 #50986B #505998
split-complementary
#98507D #599850 #50988F
monochromatic
#48263B #703B5C #98507D #B4719B #C999B7

Accessibility & contrast

On white

5.56
#98507D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#98507D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98507D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98507D#FFFFFF#000000##FFFFFF
##98507D1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#A05061
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #98507d;
/* rgb */ color: rgb(152, 80, 125);
/* oklch */ color: oklch(53.2% 0.111 343.3);
Tailwind
colors: {
  custom: {
    50: '#b883a2',
    500: '#98507d',
    950: '#000000',
  },
}
SCSS
$custom: #98507d;
$custom-light: #b883a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98507d",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 322.5,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.11141,
    "h": 343.3
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#98507D
secondary
#8EB69D
accent
#C78761
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #98507D

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

Preview Lab → · Contrast checker → · Palette generator →

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