#98337E#98337E

#98337E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.159 H 339.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#98337E
RGBrgb(152, 51, 126)
HSLhsl(315, 50%, 40%)
HSVhsv(315, 66%, 60%)
CMYKcmyk(0%, 66.4%, 17.1%, 40.4%)
CIE-LABlab(38.81, 50.33, -20.73)
CIE-LCHlch(38.81, 54.43, 337.61°)
OKLaboklab(49.35% 0.1492 -0.0559)
OKLCHoklch(49.35% 0.159 339.5)
XYZxyz(17.8990, 10.5510, 20.8285)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98337E #33984D
analogous
#803398 #98337E #98334B
triadic
#98337E #7E9833 #337E98
tetradic
#98337E #988033 #33984D #334B98
square
#98337E #988033 #33984D #334B98
split-complementary
#98337E #4B9833 #339880
monochromatic
#3C1432 #6A2458 #98337E #C147A2 #D175B9

Accessibility & contrast

On white

6.75
#98337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#98337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98337E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98337E#FFFFFF#000000##FFFFFF
##98337E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A13654
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98337e;
/* rgb */ color: rgb(152, 51, 126);
/* oklch */ color: oklch(49.3% 0.159 339.5);
Tailwind
colors: {
  custom: {
    50: '#b972a3',
    500: '#98337e',
    950: '#000000',
  },
}
SCSS
$custom: #98337e;
$custom-light: #b972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98337e",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 315.446,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.15934,
    "h": 339.5
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#98337E
secondary
#6EB981
accent
#D9724F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98337E

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

Preview Lab → · Contrast checker → · Palette generator →

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