#98255C#98255C

#98255C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.158 H 356.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#98255C
RGBrgb(152, 37, 92)
HSLhsl(331, 61%, 37%)
HSVhsv(331, 76%, 60%)
CMYKcmyk(0%, 75.7%, 39.5%, 40.4%)
CIE-LABlab(35.54, 51.25, -4.27)
CIE-LCHlch(35.54, 51.43, 355.23°)
OKLaboklab(46.51% 0.1574 -0.0106)
OKLCHoklch(46.51% 0.158 356.1)
XYZxyz(15.5433, 8.7732, 10.9980)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255C #259861
analogous
#982596 #98255C #982725
triadic
#98255C #5C9825 #255C98
tetradic
#98255C #969825 #259861 #272598
square
#98255C #969825 #259861 #272598
split-complementary
#98255C #259827 #259698
monochromatic
#360D20 #67193E #98255C #C9317A #D85F99

Accessibility & contrast

On white

7.62
#98255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#98255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98255C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255C#FFFFFF#000000##FFFFFF
##98255C1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5C5B59
Tritanopia (blue-blind)
#A4173D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98255c;
/* rgb */ color: rgb(152, 37, 92);
/* oklch */ color: oklch(46.5% 0.158 356.1);
Tailwind
colors: {
  custom: {
    50: '#bb6b8a',
    500: '#98255c',
    950: '#000000',
  },
}
SCSS
$custom: #98255c;
$custom-light: #bb6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#98255c",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 331.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.15773,
    "h": 356.1
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#98255C
secondary
#5CBD8F
accent
#E49744
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #98255C

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

Preview Lab → · Contrast checker → · Palette generator →

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