#98255E#98255E

#98255E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.159 H 355.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#98255E
RGBrgb(152, 37, 94)
HSLhsl(330, 61%, 37%)
HSVhsv(330, 76%, 60%)
CMYKcmyk(0%, 75.7%, 38.2%, 40.4%)
CIE-LABlab(35.61, 51.47, -5.45)
CIE-LCHlch(35.61, 51.76, 353.95°)
OKLaboklab(46.58% 0.158 -0.0137)
OKLCHoklch(46.58% 0.159 355)
XYZxyz(15.6319, 8.8086, 11.4646)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255E #25985F
analogous
#982598 #98255E #982625
triadic
#98255E #5E9825 #255E98
tetradic
#98255E #989825 #25985F #262598
square
#98255E #989825 #25985F #262598
split-complementary
#98255E #259826 #259898
monochromatic
#360D21 #671940 #98255E #C9317C #D85F9B

Accessibility & contrast

On white

7.60
#98255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98255E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255E#FFFFFF#000000##FFFFFF
##98255E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#5B5B5B
Tritanopia (blue-blind)
#A4183E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98255e;
/* rgb */ color: rgb(152, 37, 94);
/* oklch */ color: oklch(46.6% 0.159 355.0);
Tailwind
colors: {
  custom: {
    50: '#bb6b8b',
    500: '#98255e',
    950: '#000000',
  },
}
SCSS
$custom: #98255e;
$custom-light: #bb6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98255e",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 330.261,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.15859,
    "h": 355
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#98255E
secondary
#5CBD8D
accent
#E49544
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #98255E

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

Preview Lab → · Contrast checker → · Palette generator →

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