#98207B#98207B

#98207B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.180 H 340.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#98207B
RGBrgb(152, 32, 123)
HSLhsl(315, 65%, 36%)
HSVhsv(315, 79%, 60%)
CMYKcmyk(0%, 78.9%, 19.1%, 40.4%)
CIE-LABlab(36.25, 56.71, -22.84)
CIE-LCHlch(36.25, 61.14, 338.06°)
OKLaboklab(47.44% 0.1693 -0.0617)
OKLCHoklch(47.44% 0.18 340)
XYZxyz(17.0411, 9.1402, 19.6018)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98207B #20983D
analogous
#792098 #98207B #98203F
triadic
#98207B #7B9820 #207B98
tetradic
#98207B #987920 #20983D #203F98
square
#98207B #987920 #20983D #203F98
split-complementary
#98207B #3F9820 #209879
monochromatic
#330B29 #651552 #98207B #CB2BA4 #DC57BC

Accessibility & contrast

On white

7.43
#98207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#98207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98207B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98207B#FFFFFF#000000##FFFFFF
##98207B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A1244C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98207b;
/* rgb */ color: rgb(152, 32, 123);
/* oklch */ color: oklch(47.4% 0.180 340.0);
Tailwind
colors: {
  custom: {
    50: '#ba6aa1',
    500: '#98207b',
    950: '#000000',
  },
}
SCSS
$custom: #98207b;
$custom-light: #ba6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#98207b",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 314.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.18024,
    "h": 340
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#98207B
secondary
#54BF6E
accent
#E86840
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #98207B

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

Preview Lab → · Contrast checker → · Palette generator →

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