#FF5A98#FF5A98

#FF5A98 is a light, highly saturated pink. Relative luminance 0.308; OKLCH L 70.2% C 0.206 H 0.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#FF5A98
RGBrgb(255, 90, 152)
HSLhsl(337, 100%, 68%)
HSVhsv(337, 65%, 100%)
CMYKcmyk(0%, 64.7%, 40.4%, 0%)
CIE-LABlab(62.38, 67.32, 0.80)
CIE-LCHlch(62.38, 67.32, 0.68°)
OKLaboklab(70.25% 0.2059 0.0029)
OKLCHoklch(70.25% 0.206 0.8)
XYZxyz(50.5671, 30.8453, 32.9905)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5A98 #5AFFC1
analogous
#FF5AEA #FF5A98 #FF6F5A
triadic
#FF5A98 #98FF5A #5A98FF
tetradic
#FF5A98 #EAFF5A #5AFFC1 #6F5AFF
square
#FF5A98 #EAFF5A #5AFFC1 #6F5AFF
split-complementary
#FF5A98 #5AFF6F #5AEAFF
monochromatic
#DF0054 #FF1D72 #FF5A98 #FF97BE #FFD4E4

Accessibility & contrast

On white

2.93
#FF5A98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#FF5A98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5A98
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5A98#FFFFFF#000000##000000
##FF5A981.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839A
Deuteranopia (green-blind)
#A6A294
Tritanopia (blue-blind)
#FF4773
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ff5a98;
/* rgb */ color: rgb(255, 90, 152);
/* oklch */ color: oklch(70.2% 0.206 0.8);
Tailwind
colors: {
  custom: {
    50: '#ff92b6',
    500: '#ff5a98',
    950: '#000000',
  },
}
SCSS
$custom: #ff5a98;
$custom-light: #ff92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5a98",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 337.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70249,
    "c": 0.20592,
    "h": 0.8
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#FF5A98
secondary
#C1F4E1
accent
#E68F00
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190E11
muted
#877E80

Preview Lab

Preview with #FF5A98

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

Preview Lab → · Contrast checker → · Palette generator →

#FF5A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva