#98247B#98247B

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

Color values

HEX#98247B
RGBrgb(152, 36, 123)
HSLhsl(315, 62%, 37%)
HSVhsv(315, 76%, 60%)
CMYKcmyk(0%, 76.3%, 19.1%, 40.4%)
CIE-LABlab(36.69, 55.48, -22.17)
CIE-LCHlch(36.69, 59.74, 338.22°)
OKLaboklab(47.75% 0.1656 -0.0598)
OKLCHoklch(47.75% 0.176 340.1)
XYZxyz(17.1554, 9.3689, 19.6399)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247B #249841
analogous
#7B2498 #98247B #982441
triadic
#98247B #7B9824 #247B98
tetradic
#98247B #987B24 #249841 #244198
square
#98247B #987B24 #249841 #244198
split-complementary
#98247B #419824 #24987B
monochromatic
#350D2B #671853 #98247B #C930A3 #D95EBA

Accessibility & contrast

On white

7.31
#98247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#98247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98247B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247B#FFFFFF#000000##FFFFFF
##98247B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98247b;
/* rgb */ color: rgb(152, 36, 123);
/* oklch */ color: oklch(47.8% 0.176 340.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ba1',
    500: '#98247b',
    950: '#000000',
  },
}
SCSS
$custom: #98247b;
$custom-light: #ba6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#98247b",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 315,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.17607,
    "h": 340.1
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#98247B
secondary
#5ABE73
accent
#E56B43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #98247B

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

Preview Lab → · Contrast checker → · Palette generator →

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