#98257D#98257D

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

Color values

HEX#98257D
RGBrgb(152, 37, 125)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 76%, 60%)
CMYKcmyk(0%, 75.7%, 17.8%, 40.4%)
CIE-LABlab(36.89, 55.44, -23.09)
CIE-LCHlch(36.89, 60.05, 337.39°)
OKLaboklab(47.94% 0.1649 -0.0625)
OKLCHoklch(47.94% 0.176 339.2)
XYZxyz(17.3126, 9.4809, 20.3163)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98257D #259840
analogous
#7A2598 #98257D #982544
triadic
#98257D #7D9825 #257D98
tetradic
#98257D #987A25 #259840 #254498
square
#98257D #987A25 #259840 #254498
split-complementary
#98257D #449825 #25987A
monochromatic
#360D2C #671955 #98257D #C931A5 #D85FBC

Accessibility & contrast

On white

7.25
#98257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98257D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98257D#FFFFFF#000000##FFFFFF
##98257D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A12A4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98257d;
/* rgb */ color: rgb(152, 37, 125);
/* oklch */ color: oklch(47.9% 0.176 339.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ca3',
    500: '#98257d',
    950: '#000000',
  },
}
SCSS
$custom: #98257d;
$custom-light: #ba6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#98257d",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 314.087,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.17632,
    "h": 339.2
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98257D

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

Preview Lab → · Contrast checker → · Palette generator →

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