#98306C#98306C

#98306C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.152 H 348.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#98306C
RGBrgb(152, 48, 108)
HSLhsl(325, 52%, 39%)
HSVhsv(325, 68%, 60%)
CMYKcmyk(0%, 68.4%, 28.9%, 40.4%)
CIE-LABlab(37.62, 49.02, -11.33)
CIE-LCHlch(37.62, 50.31, 346.98°)
OKLaboklab(48.22% 0.149 -0.0297)
OKLCHoklch(48.22% 0.152 348.7)
XYZxyz(16.7134, 9.8738, 15.2101)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98306C #30985C
analogous
#903098 #98306C #983038
triadic
#98306C #6C9830 #306C98
tetradic
#98306C #989030 #30985C #303898
square
#98306C #989030 #30985C #303898
split-complementary
#98306C #389830 #309890
monochromatic
#3B132A #69214B #98306C #C3428D #D270A9

Accessibility & contrast

On white

7.06
#98306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98306C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98306C#FFFFFF#000000##FFFFFF
##98306C1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#5C5F6A
Tritanopia (blue-blind)
#A32C49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98306c;
/* rgb */ color: rgb(152, 48, 108);
/* oklch */ color: oklch(48.2% 0.152 348.7);
Tailwind
colors: {
  custom: {
    50: '#ba7096',
    500: '#98306c',
    950: '#000000',
  },
}
SCSS
$custom: #98306c;
$custom-light: #ba7096;
$custom-dark: #000000;
JSON
{
  "hex": "#98306c",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 325.385,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.1519,
    "h": 348.7
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#98306C
secondary
#6ABA8C
accent
#DB894C
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98306C

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

Preview Lab → · Contrast checker → · Palette generator →

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