#98255D#98255D

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

Color values

HEX#98255D
RGBrgb(152, 37, 93)
HSLhsl(331, 61%, 37%)
HSVhsv(331, 76%, 60%)
CMYKcmyk(0%, 75.7%, 38.8%, 40.4%)
CIE-LABlab(35.58, 51.36, -4.86)
CIE-LCHlch(35.58, 51.59, 354.59°)
OKLaboklab(46.55% 0.1577 -0.0122)
OKLCHoklch(46.55% 0.158 355.6)
XYZxyz(15.5873, 8.7908, 11.2298)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255D #259860
analogous
#982597 #98255D #982725
triadic
#98255D #5D9825 #255D98
tetradic
#98255D #979825 #259860 #272598
square
#98255D #979825 #259860 #272598
split-complementary
#98255D #259827 #259798
monochromatic
#360D21 #67193F #98255D #C9317B #D85F9A

Accessibility & contrast

On white

7.61
#98255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#98255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98255D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255D#FFFFFF#000000##FFFFFF
##98255D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#5C5B5A
Tritanopia (blue-blind)
#A4173E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98255d;
/* rgb */ color: rgb(152, 37, 93);
/* oklch */ color: oklch(46.5% 0.158 355.6);
Tailwind
colors: {
  custom: {
    50: '#bb6b8a',
    500: '#98255d',
    950: '#000000',
  },
}
SCSS
$custom: #98255d;
$custom-light: #bb6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#98255d",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 330.783,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.15815,
    "h": 355.6
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#98255D
secondary
#5CBD8E
accent
#E49644
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #98255D

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

Preview Lab → · Contrast checker → · Palette generator →

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