#98296D#98296D

#98296D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.162 H 347.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#98296D
RGBrgb(152, 41, 109)
HSLhsl(323, 58%, 38%)
HSVhsv(323, 73%, 60%)
CMYKcmyk(0%, 73%, 28.3%, 40.4%)
CIE-LABlab(36.68, 51.86, -13.38)
CIE-LCHlch(36.68, 53.56, 345.53°)
OKLaboklab(47.55% 0.1576 -0.0353)
OKLCHoklch(47.55% 0.162 347.4)
XYZxyz(16.5029, 9.3672, 15.4040)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98296D #299854
analogous
#8B2998 #98296D #982936
triadic
#98296D #6D9829 #296D98
tetradic
#98296D #988B29 #299854 #293698
square
#98296D #988B29 #299854 #293698
split-complementary
#98296D #369829 #29988B
monochromatic
#380F28 #681C4A #98296D #C83690 #D666AA

Accessibility & contrast

On white

7.31
#98296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#98296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98296D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98296D#FFFFFF#000000##FFFFFF
##98296D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#A32547
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98296d;
/* rgb */ color: rgb(152, 41, 109);
/* oklch */ color: oklch(47.6% 0.162 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba6d97',
    500: '#98296d',
    950: '#000000',
  },
}
SCSS
$custom: #98296d;
$custom-light: #ba6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#98296d",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 323.243,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.16154,
    "h": 347.4
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#98296D
secondary
#61BC84
accent
#E18347
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98296D

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

Preview Lab → · Contrast checker → · Palette generator →

#98296D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva