#98307D#98307D

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

Color values

HEX#98307D
RGBrgb(152, 48, 125)
HSLhsl(316, 52%, 39%)
HSVhsv(316, 68%, 60%)
CMYKcmyk(0%, 68.4%, 17.8%, 40.4%)
CIE-LABlab(38.33, 51.41, -20.87)
CIE-LCHlch(38.33, 55.48, 337.91°)
OKLaboklab(48.98% 0.1527 -0.0563)
OKLCHoklch(48.98% 0.163 339.8)
XYZxyz(17.7079, 10.2716, 20.4481)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98307D #30984B
analogous
#7F3098 #98307D #983049
triadic
#98307D #7D9830 #307D98
tetradic
#98307D #987F30 #30984B #304998
square
#98307D #987F30 #30984B #304998
split-complementary
#98307D #499830 #30987F
monochromatic
#3B1331 #692157 #98307D #C342A2 #D270B9

Accessibility & contrast

On white

6.88
#98307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98307D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98307D#FFFFFF#000000##FFFFFF
##98307D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A13352
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98307d;
/* rgb */ color: rgb(152, 48, 125);
/* oklch */ color: oklch(49.0% 0.163 339.8);
Tailwind
colors: {
  custom: {
    50: '#ba71a3',
    500: '#98307d',
    950: '#000000',
  },
}
SCSS
$custom: #98307d;
$custom-light: #ba71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98307d",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 315.577,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.16276,
    "h": 339.8
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#98307D
secondary
#6ABA7F
accent
#DB724C
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98307D

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

Preview Lab → · Contrast checker → · Palette generator →

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