#98316E#98316E

#98316E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.152 H 347.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#98316E
RGBrgb(152, 49, 110)
HSLhsl(324, 51%, 39%)
HSVhsv(324, 68%, 60%)
CMYKcmyk(0%, 67.8%, 27.6%, 40.4%)
CIE-LABlab(37.84, 48.87, -12.25)
CIE-LCHlch(37.84, 50.39, 345.93°)
OKLaboklab(48.41% 0.1482 -0.0322)
OKLCHoklch(48.41% 0.152 347.7)
XYZxyz(16.8624, 9.9996, 15.7909)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98316E #31985B
analogous
#8F3198 #98316E #98313B
triadic
#98316E #6E9831 #316E98
tetradic
#98316E #988F31 #31985B #313B98
square
#98316E #988F31 #31985B #313B98
split-complementary
#98316E #3B9831 #31988F
monochromatic
#3B132B #6A224D #98316E #C3448F #D272AB

Accessibility & contrast

On white

7.00
#98316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#98316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98316E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98316E#FFFFFF#000000##FFFFFF
##98316E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#A32E4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98316e;
/* rgb */ color: rgb(152, 49, 110);
/* oklch */ color: oklch(48.4% 0.152 347.7);
Tailwind
colors: {
  custom: {
    50: '#ba7197',
    500: '#98316e',
    950: '#000000',
  },
}
SCSS
$custom: #98316e;
$custom-light: #ba7197;
$custom-dark: #000000;
JSON
{
  "hex": "#98316e",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 324.466,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.15168,
    "h": 347.7
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#98316E
secondary
#6BB98B
accent
#DB874D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98316E

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

Preview Lab → · Contrast checker → · Palette generator →

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