#98277C#98277C

#98277C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 339.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#98277C
RGBrgb(152, 39, 124)
HSLhsl(315, 59%, 37%)
HSVhsv(315, 74%, 60%)
CMYKcmyk(0%, 74.3%, 18.4%, 40.4%)
CIE-LABlab(37.08, 54.62, -22.17)
CIE-LCHlch(37.08, 58.95, 337.91°)
OKLaboklab(48.06% 0.1627 -0.0599)
OKLCHoklch(48.06% 0.173 339.8)
XYZxyz(17.3130, 9.5834, 20.0029)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98277C #279843
analogous
#7B2798 #98277C #982744
triadic
#98277C #7C9827 #277C98
tetradic
#98277C #987B27 #279843 #274498
square
#98277C #987B27 #279843 #274498
split-complementary
#98277C #449827 #27987B
monochromatic
#370E2D #671B54 #98277C #C933A4 #D763BA

Accessibility & contrast

On white

7.20
#98277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#98277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98277C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98277C#FFFFFF#000000##FFFFFF
##98277C1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A12B4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98277c;
/* rgb */ color: rgb(152, 39, 124);
/* oklch */ color: oklch(48.1% 0.173 339.8);
Tailwind
colors: {
  custom: {
    50: '#ba6da2',
    500: '#98277c',
    950: '#000000',
  },
}
SCSS
$custom: #98277c;
$custom-light: #ba6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#98277c",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 314.867,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.17338,
    "h": 339.8
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#98277C
secondary
#5EBC76
accent
#E26C45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98277C

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

Preview Lab → · Contrast checker → · Palette generator →

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