#98307B#98307B

#98307B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.161 H 340.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#98307B
RGBrgb(152, 48, 123)
HSLhsl(317, 52%, 39%)
HSVhsv(317, 68%, 60%)
CMYKcmyk(0%, 68.4%, 19.1%, 40.4%)
CIE-LABlab(38.24, 51.11, -19.76)
CIE-LCHlch(38.24, 54.80, 338.86°)
OKLaboklab(48.88% 0.1524 -0.0532)
OKLCHoklch(48.88% 0.161 340.8)
XYZxyz(17.5815, 10.2210, 19.7820)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98307B #30984D
analogous
#813098 #98307B #983047
triadic
#98307B #7B9830 #307B98
tetradic
#98307B #988130 #30984D #304798
square
#98307B #988130 #30984D #304798
split-complementary
#98307B #479830 #309881
monochromatic
#3B1330 #692155 #98307B #C3429F #D270B7

Accessibility & contrast

On white

6.90
#98307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98307B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98307B#FFFFFF#000000##FFFFFF
##98307B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A13251
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98307b;
/* rgb */ color: rgb(152, 48, 123);
/* oklch */ color: oklch(48.9% 0.161 340.8);
Tailwind
colors: {
  custom: {
    50: '#ba71a1',
    500: '#98307b',
    950: '#000000',
  },
}
SCSS
$custom: #98307b;
$custom-light: #ba71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#98307b",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 316.731,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.16137,
    "h": 340.8
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#98307B
secondary
#6ABA80
accent
#DB744C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #98307B

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

Preview Lab → · Contrast checker → · Palette generator →

#98307B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva