#98257F#98257F

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

Color values

HEX#98257F
RGBrgb(152, 37, 127)
HSLhsl(313, 61%, 37%)
HSVhsv(313, 76%, 60%)
CMYKcmyk(0%, 75.7%, 16.4%, 40.4%)
CIE-LABlab(36.99, 55.73, -24.18)
CIE-LCHlch(36.99, 60.75, 336.54°)
OKLaboklab(48.04% 0.1651 -0.0656)
OKLCHoklch(48.04% 0.178 338.3)
XYZxyz(17.4416, 9.5325, 20.9959)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98257F #25983E
analogous
#772598 #98257F #982546
triadic
#98257F #7F9825 #257F98
tetradic
#98257F #987725 #25983E #254698
square
#98257F #987725 #25983E #254698
split-complementary
#98257F #469825 #259877
monochromatic
#360D2D #671956 #98257F #C931A8 #D85FBE

Accessibility & contrast

On white

7.23
#98257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#98257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98257F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98257F#FFFFFF#000000##FFFFFF
##98257F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A12B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98257f;
/* rgb */ color: rgb(152, 37, 127);
/* oklch */ color: oklch(48.0% 0.178 338.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ca4',
    500: '#98257f',
    950: '#000000',
  },
}
SCSS
$custom: #98257f;
$custom-light: #ba6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#98257f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 313.043,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.17769,
    "h": 338.3
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#98257F
secondary
#5CBD71
accent
#E46744
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98257F

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

Preview Lab → · Contrast checker → · Palette generator →

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