#98247F#98247F

#98247F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 338.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#98247F
RGBrgb(152, 36, 127)
HSLhsl(313, 62%, 37%)
HSVhsv(313, 76%, 60%)
CMYKcmyk(0%, 76.3%, 16.4%, 40.4%)
CIE-LABlab(36.88, 56.05, -24.36)
CIE-LCHlch(36.88, 61.12, 336.51°)
OKLaboklab(47.95% 0.1661 -0.0661)
OKLCHoklch(47.95% 0.179 338.3)
XYZxyz(17.4109, 9.4711, 20.9857)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247F #24983D
analogous
#772498 #98247F #982445
triadic
#98247F #7F9824 #247F98
tetradic
#98247F #987724 #24983D #244598
square
#98247F #987724 #24983D #244598
split-complementary
#98247F #459824 #249877
monochromatic
#350D2C #671856 #98247F #C930A8 #D95EBE

Accessibility & contrast

On white

7.26
#98247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#98247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98247F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247F#FFFFFF#000000##FFFFFF
##98247F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A12A4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98247f;
/* rgb */ color: rgb(152, 36, 127);
/* oklch */ color: oklch(48.0% 0.179 338.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ba4',
    500: '#98247f',
    950: '#000000',
  },
}
SCSS
$custom: #98247f;
$custom-light: #ba6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#98247f",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 312.931,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.17878,
    "h": 338.3
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#98247F
secondary
#5ABE70
accent
#E56643
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98247F

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

Preview Lab → · Contrast checker → · Palette generator →

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