#98286C#98286C

#98286C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.162 H 347.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#98286C
RGBrgb(152, 40, 108)
HSLhsl(324, 58%, 38%)
HSVhsv(324, 74%, 60%)
CMYKcmyk(0%, 73.7%, 28.9%, 40.4%)
CIE-LABlab(36.51, 52.09, -13.01)
CIE-LCHlch(36.51, 53.69, 345.98°)
OKLaboklab(47.42% 0.1585 -0.0342)
OKLCHoklch(47.42% 0.162 347.8)
XYZxyz(16.4152, 9.2775, 15.1107)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98286C #289854
analogous
#8C2898 #98286C #982834
triadic
#98286C #6C9828 #286C98
tetradic
#98286C #988C28 #289854 #283498
square
#98286C #988C28 #289854 #283498
split-complementary
#98286C #349828 #28988C
monochromatic
#370F27 #681B4A #98286C #C8358E #D664A9

Accessibility & contrast

On white

7.36
#98286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#98286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98286C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98286C#FFFFFF#000000##FFFFFF
##98286C1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#A32446
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98286c;
/* rgb */ color: rgb(152, 40, 108);
/* oklch */ color: oklch(47.4% 0.162 347.8);
Tailwind
colors: {
  custom: {
    50: '#ba6c96',
    500: '#98286c',
    950: '#000000',
  },
}
SCSS
$custom: #98286c;
$custom-light: #ba6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#98286c",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 323.571,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.16218,
    "h": 347.8
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#98286C
secondary
#60BC84
accent
#E28346
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98286C

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

Preview Lab → · Contrast checker → · Palette generator →

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