#98207D#98207D

#98207D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.182 H 339.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#98207D
RGBrgb(152, 32, 125)
HSLhsl(314, 65%, 36%)
HSVhsv(314, 79%, 60%)
CMYKcmyk(0%, 78.9%, 17.8%, 40.4%)
CIE-LABlab(36.35, 56.99, -23.94)
CIE-LCHlch(36.35, 61.82, 337.22°)
OKLaboklab(47.54% 0.1696 -0.0648)
OKLCHoklch(47.54% 0.182 339.1)
XYZxyz(17.1675, 9.1908, 20.2679)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98207D #20983B
analogous
#772098 #98207D #982041
triadic
#98207D #7D9820 #207D98
tetradic
#98207D #987720 #20983B #204198
square
#98207D #987720 #20983B #204198
split-complementary
#98207D #419820 #209877
monochromatic
#330B2A #651553 #98207D #CB2BA7 #DC57BE

Accessibility & contrast

On white

7.40
#98207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#98207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98207D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98207D#FFFFFF#000000##FFFFFF
##98207D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A1264D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98207d;
/* rgb */ color: rgb(152, 32, 125);
/* oklch */ color: oklch(47.5% 0.182 339.1);
Tailwind
colors: {
  custom: {
    50: '#ba6aa3',
    500: '#98207d',
    950: '#000000',
  },
}
SCSS
$custom: #98207d;
$custom-light: #ba6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#98207d",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 313.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.18157,
    "h": 339.1
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#98207D
secondary
#54BF6C
accent
#E86640
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98207D

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

Preview Lab → · Contrast checker → · Palette generator →

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