#98247A#98247A

#98247A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.175 H 340.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#98247A
RGBrgb(152, 36, 122)
HSLhsl(316, 62%, 37%)
HSVhsv(316, 76%, 60%)
CMYKcmyk(0%, 76.3%, 19.7%, 40.4%)
CIE-LABlab(36.64, 55.34, -21.61)
CIE-LCHlch(36.64, 59.41, 338.66°)
OKLaboklab(47.7% 0.1655 -0.0583)
OKLCHoklch(47.7% 0.175 340.6)
XYZxyz(17.0931, 9.3440, 19.3120)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247A #249842
analogous
#7C2498 #98247A #982440
triadic
#98247A #7A9824 #247A98
tetradic
#98247A #987C24 #249842 #244098
square
#98247A #987C24 #249842 #244098
split-complementary
#98247A #409824 #24987C
monochromatic
#350D2B #671852 #98247A #C930A2 #D95EB9

Accessibility & contrast

On white

7.32
#98247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98247A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247A#FFFFFF#000000##FFFFFF
##98247A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A1274C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98247a;
/* rgb */ color: rgb(152, 36, 122);
/* oklch */ color: oklch(47.7% 0.175 340.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ba0',
    500: '#98247a',
    950: '#000000',
  },
}
SCSS
$custom: #98247a;
$custom-light: #ba6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#98247a",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 315.517,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.17542,
    "h": 340.6
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#98247A
secondary
#5ABE74
accent
#E56D43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #98247A

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

Preview Lab → · Contrast checker → · Palette generator →

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