#98255A#98255A

#98255A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 357.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#98255A
RGBrgb(152, 37, 90)
HSLhsl(332, 61%, 37%)
HSVhsv(332, 76%, 60%)
CMYKcmyk(0%, 75.7%, 40.8%, 40.4%)
CIE-LABlab(35.48, 51.04, -3.09)
CIE-LCHlch(35.48, 51.13, 356.54°)
OKLaboklab(46.44% 0.1567 -0.0075)
OKLCHoklch(46.44% 0.157 357.3)
XYZxyz(15.4570, 8.7387, 10.5436)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255A #259863
analogous
#982594 #98255A #982A25
triadic
#98255A #5A9825 #255A98
tetradic
#98255A #949825 #259863 #2A2598
square
#98255A #949825 #259863 #2A2598
split-complementary
#98255A #25982A #259498
monochromatic
#360D20 #67193D #98255A #C93177 #D85F97

Accessibility & contrast

On white

7.64
#98255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98255A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255A#FFFFFF#000000##FFFFFF
##98255A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#5C5B57
Tritanopia (blue-blind)
#A5153C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98255a;
/* rgb */ color: rgb(152, 37, 90);
/* oklch */ color: oklch(46.4% 0.157 357.3);
Tailwind
colors: {
  custom: {
    50: '#bb6b88',
    500: '#98255a',
    950: '#000000',
  },
}
SCSS
$custom: #98255a;
$custom-light: #bb6b88;
$custom-dark: #000000;
JSON
{
  "hex": "#98255a",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 332.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46439,
    "c": 0.15691,
    "h": 357.3
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#98255A
secondary
#5CBD90
accent
#E49A44
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #98255A

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

Preview Lab → · Contrast checker → · Palette generator →

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