#98247E#98247E

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

Color values

HEX#98247E
RGBrgb(152, 36, 126)
HSLhsl(313, 62%, 37%)
HSVhsv(313, 76%, 60%)
CMYKcmyk(0%, 76.3%, 17.1%, 40.4%)
CIE-LABlab(36.83, 55.91, -23.81)
CIE-LCHlch(36.83, 60.77, 336.93°)
OKLaboklab(47.9% 0.166 -0.0645)
OKLCHoklch(47.9% 0.178 338.8)
XYZxyz(17.3461, 9.4452, 20.6442)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98247E #24983E
analogous
#782498 #98247E #982444
triadic
#98247E #7E9824 #247E98
tetradic
#98247E #987824 #24983E #244498
square
#98247E #987824 #24983E #244498
split-complementary
#98247E #449824 #249878
monochromatic
#350D2C #671855 #98247E #C930A7 #D95EBD

Accessibility & contrast

On white

7.27
#98247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98247E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98247E#FFFFFF#000000##FFFFFF
##98247E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98247e;
/* rgb */ color: rgb(152, 36, 126);
/* oklch */ color: oklch(47.9% 0.178 338.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ba3',
    500: '#98247e',
    950: '#000000',
  },
}
SCSS
$custom: #98247e;
$custom-light: #ba6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#98247e",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 313.448,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.17809,
    "h": 338.8
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98247E

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

Preview Lab → · Contrast checker → · Palette generator →

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