#98277D#98277D

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

Color values

HEX#98277D
RGBrgb(152, 39, 125)
HSLhsl(314, 59%, 37%)
HSVhsv(314, 74%, 60%)
CMYKcmyk(0%, 74.3%, 17.8%, 40.4%)
CIE-LABlab(37.13, 54.76, -22.72)
CIE-LCHlch(37.13, 59.29, 337.47°)
OKLaboklab(48.11% 0.1629 -0.0614)
OKLCHoklch(48.11% 0.174 339.3)
XYZxyz(17.3765, 9.6088, 20.3376)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98277D #279842
analogous
#7A2798 #98277D #982745
triadic
#98277D #7D9827 #277D98
tetradic
#98277D #987A27 #279842 #274598
square
#98277D #987A27 #279842 #274598
split-complementary
#98277D #459827 #27987A
monochromatic
#370E2D #671B55 #98277D #C933A5 #D763BB

Accessibility & contrast

On white

7.19
#98277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98277D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98277D#FFFFFF#000000##FFFFFF
##98277D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A12B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98277d;
/* rgb */ color: rgb(152, 39, 125);
/* oklch */ color: oklch(48.1% 0.174 339.3);
Tailwind
colors: {
  custom: {
    50: '#ba6da3',
    500: '#98277d',
    950: '#000000',
  },
}
SCSS
$custom: #98277d;
$custom-light: #ba6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#98277d",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 314.336,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.17406,
    "h": 339.3
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#98277D
secondary
#5EBC75
accent
#E26B45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98277D

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

Preview Lab → · Contrast checker → · Palette generator →

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