#98287F#98287F

#98287F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.174 H 338.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#98287F
RGBrgb(152, 40, 127)
HSLhsl(313, 58%, 38%)
HSVhsv(313, 74%, 60%)
CMYKcmyk(0%, 73.7%, 16.4%, 40.4%)
CIE-LABlab(37.35, 54.71, -23.63)
CIE-LCHlch(37.35, 59.59, 336.64°)
OKLaboklab(48.29% 0.1621 -0.064)
OKLCHoklch(48.29% 0.174 338.4)
XYZxyz(17.5388, 9.7269, 21.0284)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98287F #289841
analogous
#792898 #98287F #982847
triadic
#98287F #7F9828 #287F98
tetradic
#98287F #987928 #289841 #284798
square
#98287F #987928 #289841 #284798
split-complementary
#98287F #479828 #289879
monochromatic
#370F2E #681B57 #98287F #C835A7 #D664BD

Accessibility & contrast

On white

7.13
#98287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#98287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98287F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98287F#FFFFFF#000000##FFFFFF
##98287F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A12D50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98287f;
/* rgb */ color: rgb(152, 40, 127);
/* oklch */ color: oklch(48.3% 0.174 338.4);
Tailwind
colors: {
  custom: {
    50: '#ba6da4',
    500: '#98287f',
    950: '#000000',
  },
}
SCSS
$custom: #98287f;
$custom-light: #ba6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#98287f",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 313.393,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.17427,
    "h": 338.4
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#98287F
secondary
#60BC74
accent
#E26946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98287F

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

Preview Lab → · Contrast checker → · Palette generator →

#98287F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva