#98247C#98247C

#98247C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.177 H 339.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#98247C
RGBrgb(152, 36, 124)
HSLhsl(314, 62%, 37%)
HSVhsv(314, 76%, 60%)
CMYKcmyk(0%, 76.3%, 18.4%, 40.4%)
CIE-LABlab(36.73, 55.62, -22.72)
CIE-LCHlch(36.73, 60.08, 337.78°)
OKLaboklab(47.8% 0.1657 -0.0614)
OKLCHoklch(47.8% 0.177 339.7)
XYZxyz(17.2183, 9.3941, 19.9713)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247C #249840
analogous
#7A2498 #98247C #982442
triadic
#98247C #7C9824 #247C98
tetradic
#98247C #987A24 #249840 #244298
square
#98247C #987A24 #249840 #244298
split-complementary
#98247C #429824 #24987A
monochromatic
#350D2B #671854 #98247C #C930A4 #D95EBB

Accessibility & contrast

On white

7.30
#98247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#98247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98247C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247C#FFFFFF#000000##FFFFFF
##98247C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98247c;
/* rgb */ color: rgb(152, 36, 124);
/* oklch */ color: oklch(47.8% 0.177 339.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ba2',
    500: '#98247c',
    950: '#000000',
  },
}
SCSS
$custom: #98247c;
$custom-light: #ba6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#98247c",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 314.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.17674,
    "h": 339.7
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#98247C
secondary
#5ABE72
accent
#E56A43
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98247C

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

Preview Lab → · Contrast checker → · Palette generator →

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