#98286F#98286F

#98286F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.164 H 346.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#98286F
RGBrgb(152, 40, 111)
HSLhsl(322, 58%, 38%)
HSVhsv(322, 74%, 60%)
CMYKcmyk(0%, 73.7%, 27%, 40.4%)
CIE-LABlab(36.64, 52.48, -14.71)
CIE-LCHlch(36.64, 54.51, 344.34°)
OKLaboklab(47.54% 0.1592 -0.039)
OKLCHoklch(47.54% 0.164 346.2)
XYZxyz(16.5777, 9.3425, 15.9661)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98286F #289851
analogous
#892898 #98286F #982837
triadic
#98286F #6F9828 #286F98
tetradic
#98286F #988928 #289851 #283798
square
#98286F #988928 #289851 #283798
split-complementary
#98286F #379828 #289889
monochromatic
#370F28 #681B4C #98286F #C83592 #D664AC

Accessibility & contrast

On white

7.32
#98286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#98286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98286F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98286F#FFFFFF#000000##FFFFFF
##98286F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A32548
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98286f;
/* rgb */ color: rgb(152, 40, 111);
/* oklch */ color: oklch(47.5% 0.164 346.2);
Tailwind
colors: {
  custom: {
    50: '#ba6d98',
    500: '#98286f',
    950: '#000000',
  },
}
SCSS
$custom: #98286f;
$custom-light: #ba6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#98286f",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 321.964,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.16392,
    "h": 346.2
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#98286F
secondary
#60BC82
accent
#E27F46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98286F

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

Preview Lab → · Contrast checker → · Palette generator →

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