#98255B#98255B

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

Color values

HEX#98255B
RGBrgb(152, 37, 91)
HSLhsl(332, 61%, 37%)
HSVhsv(332, 76%, 60%)
CMYKcmyk(0%, 75.7%, 40.1%, 40.4%)
CIE-LABlab(35.51, 51.15, -3.68)
CIE-LCHlch(35.51, 51.28, 355.88°)
OKLaboklab(46.48% 0.1571 -0.009)
OKLCHoklch(46.48% 0.157 356.7)
XYZxyz(15.4999, 8.7558, 10.7693)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255B #259862
analogous
#982595 #98255B #982825
triadic
#98255B #5B9825 #255B98
tetradic
#98255B #959825 #259862 #282598
square
#98255B #959825 #259862 #282598
split-complementary
#98255B #259828 #259598
monochromatic
#360D20 #67193E #98255B #C93178 #D85F98

Accessibility & contrast

On white

7.63
#98255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98255B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255B#FFFFFF#000000##FFFFFF
##98255B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#5C5B58
Tritanopia (blue-blind)
#A5163D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98255b;
/* rgb */ color: rgb(152, 37, 91);
/* oklch */ color: oklch(46.5% 0.157 356.7);
Tailwind
colors: {
  custom: {
    50: '#bb6b89',
    500: '#98255b',
    950: '#000000',
  },
}
SCSS
$custom: #98255b;
$custom-light: #bb6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#98255b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 331.826,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.15731,
    "h": 356.7
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#98255B
secondary
#5CBD8F
accent
#E49944
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #98255B

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

Preview Lab → · Contrast checker → · Palette generator →

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