#98247D#98247D

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

Color values

HEX#98247D
RGBrgb(152, 36, 125)
HSLhsl(314, 62%, 37%)
HSVhsv(314, 76%, 60%)
CMYKcmyk(0%, 76.3%, 17.8%, 40.4%)
CIE-LABlab(36.78, 55.76, -23.27)
CIE-LCHlch(36.78, 60.42, 337.35°)
OKLaboklab(47.85% 0.1659 -0.063)
OKLCHoklch(47.85% 0.177 339.2)
XYZxyz(17.2819, 9.4195, 20.3061)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247D #24983F
analogous
#792498 #98247D #982443
triadic
#98247D #7D9824 #247D98
tetradic
#98247D #987924 #24983F #244398
square
#98247D #987924 #24983F #244398
split-complementary
#98247D #439824 #249879
monochromatic
#350D2C #671854 #98247D #C930A6 #D95EBC

Accessibility & contrast

On white

7.28
#98247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98247D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247D#FFFFFF#000000##FFFFFF
##98247D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98247d;
/* rgb */ color: rgb(152, 36, 125);
/* oklch */ color: oklch(47.9% 0.177 339.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ba3',
    500: '#98247d',
    950: '#000000',
  },
}
SCSS
$custom: #98247d;
$custom-light: #ba6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#98247d",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 313.966,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.17741,
    "h": 339.2
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#98247D
secondary
#5ABE71
accent
#E56943
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98247D

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

Preview Lab → · Contrast checker → · Palette generator →

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