#98407B#98407B

#98407B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 50.8% C 0.137 H 342.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#98407B
RGBrgb(152, 64, 123)
HSLhsl(320, 41%, 42%)
HSVhsv(320, 58%, 60%)
CMYKcmyk(0%, 57.9%, 19.1%, 40.4%)
CIE-LABlab(40.85, 43.96, -15.74)
CIE-LCHlch(40.85, 46.69, 340.30°)
OKLaboklab(50.81% 0.1308 -0.042)
OKLCHoklch(50.81% 0.137 342.2)
XYZxyz(18.3579, 11.7738, 20.0408)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98407B #40985D
analogous
#894098 #98407B #98404F
triadic
#98407B #7B9840 #407B98
tetradic
#98407B #988940 #40985D #404F98
square
#98407B #988940 #40985D #404F98
split-complementary
#98407B #4F9840 #409889
monochromatic
#421C35 #6D2E58 #98407B #BA5B9B #CC86B5

Accessibility & contrast

On white

6.26
#98407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#98407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98407B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98407B#FFFFFF#000000##FFFFFF
##98407B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#A14158
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #98407b;
/* rgb */ color: rgb(152, 64, 123);
/* oklch */ color: oklch(50.8% 0.137 342.2);
Tailwind
colors: {
  custom: {
    50: '#b979a1',
    500: '#98407b',
    950: '#000000',
  },
}
SCSS
$custom: #98407b;
$custom-light: #b979a1;
$custom-dark: #000000;
JSON
{
  "hex": "#98407b",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 319.773,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.1374,
    "h": 342.2
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#98407B
secondary
#7DB790
accent
#D17F57
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #98407B

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

Preview Lab → · Contrast checker → · Palette generator →

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