#98316C#98316C

#98316C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.151 H 348.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#98316C
RGBrgb(152, 49, 108)
HSLhsl(326, 51%, 39%)
HSVhsv(326, 68%, 60%)
CMYKcmyk(0%, 67.8%, 28.9%, 40.4%)
CIE-LABlab(37.76, 48.61, -11.11)
CIE-LCHlch(37.76, 49.86, 347.13°)
OKLaboklab(48.33% 0.1477 -0.0291)
OKLCHoklch(48.33% 0.151 348.9)
XYZxyz(16.7547, 9.9565, 15.2239)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98316C #31985D
analogous
#913198 #98316C #983139
triadic
#98316C #6C9831 #316C98
tetradic
#98316C #989131 #31985D #313998
square
#98316C #989131 #31985D #313998
split-complementary
#98316C #399831 #319891
monochromatic
#3B132A #6A224B #98316C #C3448C #D272A9

Accessibility & contrast

On white

7.02
#98316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#98316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98316C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98316C#FFFFFF#000000##FFFFFF
##98316C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6E
Deuteranopia (green-blind)
#5C606A
Tritanopia (blue-blind)
#A32D4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98316c;
/* rgb */ color: rgb(152, 49, 108);
/* oklch */ color: oklch(48.3% 0.151 348.9);
Tailwind
colors: {
  custom: {
    50: '#ba7196',
    500: '#98316c',
    950: '#000000',
  },
}
SCSS
$custom: #98316c;
$custom-light: #ba7196;
$custom-dark: #000000;
JSON
{
  "hex": "#98316c",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 325.631,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.15053,
    "h": 348.9
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#98316C
secondary
#6BB98D
accent
#DB8A4D
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98316C

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

Preview Lab → · Contrast checker → · Palette generator →

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