#98257E#98257E

#98257E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.177 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#98257E
RGBrgb(152, 37, 126)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 76%, 60%)
CMYKcmyk(0%, 75.7%, 17.1%, 40.4%)
CIE-LABlab(36.94, 55.58, -23.64)
CIE-LCHlch(36.94, 60.40, 336.96°)
OKLaboklab(47.99% 0.165 -0.064)
OKLCHoklch(47.99% 0.177 338.8)
XYZxyz(17.3768, 9.5066, 20.6544)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98257E #25983F
analogous
#792598 #98257E #982545
triadic
#98257E #7E9825 #257E98
tetradic
#98257E #987925 #25983F #254598
square
#98257E #987925 #25983F #254598
split-complementary
#98257E #459825 #259879
monochromatic
#360D2C #671955 #98257E #C931A7 #D85FBD

Accessibility & contrast

On white

7.24
#98257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#98257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98257E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98257E#FFFFFF#000000##FFFFFF
##98257E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A12A4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98257e;
/* rgb */ color: rgb(152, 37, 126);
/* oklch */ color: oklch(48.0% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ca3',
    500: '#98257e',
    950: '#000000',
  },
}
SCSS
$custom: #98257e;
$custom-light: #ba6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#98257e",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 313.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.177,
    "h": 338.8
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#98257E
secondary
#5CBD72
accent
#E46844
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98257E

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

Preview Lab → · Contrast checker → · Palette generator →

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