#98257C#98257C

#98257C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 339.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#98257C
RGBrgb(152, 37, 124)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 76%, 60%)
CMYKcmyk(0%, 75.7%, 18.4%, 40.4%)
CIE-LABlab(36.85, 55.29, -22.54)
CIE-LCHlch(36.85, 59.71, 337.82°)
OKLaboklab(47.89% 0.1647 -0.0609)
OKLCHoklch(47.89% 0.176 339.7)
XYZxyz(17.2490, 9.4555, 19.9815)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98257C #259841
analogous
#7B2598 #98257C #982542
triadic
#98257C #7C9825 #257C98
tetradic
#98257C #987B25 #259841 #254298
square
#98257C #987B25 #259841 #254298
split-complementary
#98257C #429825 #25987B
monochromatic
#360D2C #671954 #98257C #C931A4 #D85FBB

Accessibility & contrast

On white

7.26
#98257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#98257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98257C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98257C#FFFFFF#000000##FFFFFF
##98257C1.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)
#2D4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98257c;
/* rgb */ color: rgb(152, 37, 124);
/* oklch */ color: oklch(47.9% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ca2',
    500: '#98257c',
    950: '#000000',
  },
}
SCSS
$custom: #98257c;
$custom-light: #ba6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#98257c",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 314.609,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.17564,
    "h": 339.7
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#98257C
secondary
#5CBD73
accent
#E46B44
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98257C

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

Preview Lab → · Contrast checker → · Palette generator →

#98257C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva