#98277A#98277A

#98277A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.172 H 340.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#98277A
RGBrgb(152, 39, 122)
HSLhsl(316, 59%, 37%)
HSVhsv(316, 74%, 60%)
CMYKcmyk(0%, 74.3%, 19.7%, 40.4%)
CIE-LABlab(36.99, 54.34, -21.07)
CIE-LCHlch(36.99, 58.28, 338.81°)
OKLaboklab(47.96% 0.1624 -0.0568)
OKLCHoklch(47.96% 0.172 340.7)
XYZxyz(17.1878, 9.5333, 19.3435)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98277A #279845
analogous
#7D2798 #98277A #982742
triadic
#98277A #7A9827 #277A98
tetradic
#98277A #987D27 #279845 #274298
square
#98277A #987D27 #279845 #274298
split-complementary
#98277A #429827 #27987D
monochromatic
#370E2C #671B53 #98277A #C933A1 #D763B8

Accessibility & contrast

On white

7.23
#98277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#98277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98277A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98277A#FFFFFF#000000##FFFFFF
##98277A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A12A4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98277a;
/* rgb */ color: rgb(152, 39, 122);
/* oklch */ color: oklch(48.0% 0.172 340.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ca0',
    500: '#98277a',
    950: '#000000',
  },
}
SCSS
$custom: #98277a;
$custom-light: #ba6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#98277a",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 315.929,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.17203,
    "h": 340.7
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#98277A
secondary
#5EBC77
accent
#E26F45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #98277A

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

Preview Lab → · Contrast checker → · Palette generator →

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