#98307C#98307C

#98307C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.162 H 340.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#98307C
RGBrgb(152, 48, 124)
HSLhsl(316, 52%, 39%)
HSVhsv(316, 68%, 60%)
CMYKcmyk(0%, 68.4%, 18.4%, 40.4%)
CIE-LABlab(38.28, 51.26, -20.32)
CIE-LCHlch(38.28, 55.14, 338.38°)
OKLaboklab(48.93% 0.1526 -0.0547)
OKLCHoklch(48.93% 0.162 340.3)
XYZxyz(17.6444, 10.2462, 20.1133)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98307C #30984C
analogous
#803098 #98307C #983048
triadic
#98307C #7C9830 #307C98
tetradic
#98307C #988030 #30984C #304898
square
#98307C #988030 #30984C #304898
split-complementary
#98307C #489830 #309880
monochromatic
#3B1330 #692156 #98307C #C342A0 #D270B8

Accessibility & contrast

On white

6.89
#98307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#98307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98307C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98307C#FFFFFF#000000##FFFFFF
##98307C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#A13351
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98307c;
/* rgb */ color: rgb(152, 48, 124);
/* oklch */ color: oklch(48.9% 0.162 340.3);
Tailwind
colors: {
  custom: {
    50: '#ba71a2',
    500: '#98307c',
    950: '#000000',
  },
}
SCSS
$custom: #98307c;
$custom-light: #ba71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98307c",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 316.154,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.16207,
    "h": 340.3
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#98307C
secondary
#6ABA80
accent
#DB734C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #98307C

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

Preview Lab → · Contrast checker → · Palette generator →

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