#98307E#98307E

#98307E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 339.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#98307E
RGBrgb(152, 48, 126)
HSLhsl(315, 52%, 39%)
HSVhsv(315, 68%, 60%)
CMYKcmyk(0%, 68.4%, 17.1%, 40.4%)
CIE-LABlab(38.37, 51.56, -21.42)
CIE-LCHlch(38.37, 55.83, 337.44°)
OKLaboklab(49.02% 0.1529 -0.0578)
OKLCHoklch(49.02% 0.163 339.3)
XYZxyz(17.7721, 10.2973, 20.7862)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98307E #30984A
analogous
#7E3098 #98307E #98304A
triadic
#98307E #7E9830 #307E98
tetradic
#98307E #987E30 #30984A #304A98
square
#98307E #987E30 #30984A #304A98
split-complementary
#98307E #4A9830 #30987E
monochromatic
#3B1331 #692157 #98307E #C342A3 #D270BA

Accessibility & contrast

On white

6.86
#98307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#98307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98307E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98307E#FFFFFF#000000##FFFFFF
##98307E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A13352
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98307e;
/* rgb */ color: rgb(152, 48, 126);
/* oklch */ color: oklch(49.0% 0.163 339.3);
Tailwind
colors: {
  custom: {
    50: '#ba71a3',
    500: '#98307e',
    950: '#000000',
  },
}
SCSS
$custom: #98307e;
$custom-light: #ba71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98307e",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 315,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.16347,
    "h": 339.3
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#98307E
secondary
#6ABA7E
accent
#DB704C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98307E

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

Preview Lab → · Contrast checker → · Palette generator →

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