#98207E#98207E

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

Color values

HEX#98207E
RGBrgb(152, 32, 126)
HSLhsl(313, 65%, 36%)
HSVhsv(313, 79%, 60%)
CMYKcmyk(0%, 78.9%, 17.1%, 40.4%)
CIE-LABlab(36.40, 57.13, -24.49)
CIE-LCHlch(36.40, 62.16, 336.80°)
OKLaboklab(47.59% 0.1697 -0.0664)
OKLCHoklch(47.59% 0.182 338.6)
XYZxyz(17.2317, 9.2165, 20.6061)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98207E #20983A
analogous
#762098 #98207E #982042
triadic
#98207E #7E9820 #207E98
tetradic
#98207E #987620 #20983A #204298
square
#98207E #987620 #20983A #204298
split-complementary
#98207E #429820 #209876
monochromatic
#330B2A #651554 #98207E #CB2BA8 #DC57BF

Accessibility & contrast

On white

7.39
#98207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98207E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98207E#FFFFFF#000000##FFFFFF
##98207E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A1264D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98207e;
/* rgb */ color: rgb(152, 32, 126);
/* oklch */ color: oklch(47.6% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#ba6aa3',
    500: '#98207e',
    950: '#000000',
  },
}
SCSS
$custom: #98207e;
$custom-light: #ba6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#98207e",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 313,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.18223,
    "h": 338.6
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#98207E
secondary
#54BF6C
accent
#E86440
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98207E

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

Preview Lab → · Contrast checker → · Palette generator →

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