#98417E#98417E

#98417E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.1% C 0.138 H 340.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#98417E
RGBrgb(152, 65, 126)
HSLhsl(318, 40%, 43%)
HSVhsv(318, 57%, 60%)
CMYKcmyk(0%, 57.2%, 17.1%, 40.4%)
CIE-LABlab(41.16, 43.94, -17.12)
CIE-LCHlch(41.16, 47.16, 338.71°)
OKLaboklab(51.07% 0.1301 -0.0459)
OKLCHoklch(51.07% 0.138 340.6)
XYZxyz(18.6054, 11.9639, 21.0640)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98417E #41985B
analogous
#864198 #98417E #984153
triadic
#98417E #7E9841 #417E98
tetradic
#98417E #988641 #41985B #415398
square
#98417E #988641 #41985B #415398
split-complementary
#98417E #539841 #419886
monochromatic
#421C37 #6D2F5A #98417E #BA5D9E #CC88B7

Accessibility & contrast

On white

6.19
#98417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#98417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98417E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98417E#FFFFFF#000000##FFFFFF
##98417E1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#5F667C
Tritanopia (blue-blind)
#A0435A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #98417e;
/* rgb */ color: rgb(152, 65, 126);
/* oklch */ color: oklch(51.1% 0.138 340.6);
Tailwind
colors: {
  custom: {
    50: '#b97aa3',
    500: '#98417e',
    950: '#000000',
  },
}
SCSS
$custom: #98417e;
$custom-light: #b97aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#98417e",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 317.931,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.13794,
    "h": 340.6
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#98417E
secondary
#7EB78F
accent
#D07C58
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #98417E

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

Preview Lab → · Contrast checker → · Palette generator →

#98417E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva