#98267A#98267A

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

Color values

HEX#98267A
RGBrgb(152, 38, 122)
HSLhsl(316, 60%, 37%)
HSVhsv(316, 75%, 60%)
CMYKcmyk(0%, 75%, 19.7%, 40.4%)
CIE-LABlab(36.87, 54.68, -21.25)
CIE-LCHlch(36.87, 58.66, 338.76°)
OKLaboklab(47.87% 0.1634 -0.0573)
OKLCHoklch(47.87% 0.173 340.7)
XYZxyz(17.1554, 9.4685, 19.3327)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267A #269844
analogous
#7D2698 #98267A #982641
triadic
#98267A #7A9826 #267A98
tetradic
#98267A #987D26 #269844 #264198
square
#98267A #987D26 #269844 #264198
split-complementary
#98267A #419826 #26987D
monochromatic
#360E2B #671A53 #98267A #C932A1 #D761B8

Accessibility & contrast

On white

7.26
#98267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#98267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98267A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267A#FFFFFF#000000##FFFFFF
##98267A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#545D77
Tritanopia (blue-blind)
#A1294D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98267a;
/* rgb */ color: rgb(152, 38, 122);
/* oklch */ color: oklch(47.9% 0.173 340.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ca0',
    500: '#98267a',
    950: '#000000',
  },
}
SCSS
$custom: #98267a;
$custom-light: #ba6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#98267a",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 315.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.17319,
    "h": 340.7
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#98267A
secondary
#5DBD76
accent
#E36E45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #98267A

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

Preview Lab → · Contrast checker → · Palette generator →

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