#FF5298#FF5298

#FF5298 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.4% C 0.215 H 359.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#FF5298
RGBrgb(255, 82, 152)
HSLhsl(336, 100%, 66%)
HSVhsv(336, 68%, 100%)
CMYKcmyk(0%, 67.8%, 40.4%, 0%)
CIE-LABlab(61.28, 70.33, -0.80)
CIE-LCHlch(61.28, 70.34, 359.35°)
OKLaboklab(69.44% 0.2155 -0.0012)
OKLCHoklch(69.44% 0.215 359.7)
XYZxyz(49.9283, 29.5677, 32.7776)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5298 #52FFB9
analogous
#FF52EE #FF5298 #FF6252
triadic
#FF5298 #98FF52 #5298FF
tetradic
#FF5298 #EEFF52 #52FFB9 #6252FF
square
#FF5298 #EEFF52 #52FFB9 #6252FF
split-complementary
#FF5298 #52FF62 #52EEFF
monochromatic
#D70057 #FF1574 #FF5298 #FF8FBC #FFCCE1

Accessibility & contrast

On white

3.04
#FF5298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#FF5298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5298
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5298#FFFFFF#000000##000000
##FF52981.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#757F9A
Deuteranopia (green-blind)
#A3A094
Tritanopia (blue-blind)
#FF3D6F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ff5298;
/* rgb */ color: rgb(255, 82, 152);
/* oklch */ color: oklch(69.4% 0.215 359.7);
Tailwind
colors: {
  custom: {
    50: '#ff8eb6',
    500: '#ff5298',
    950: '#000000',
  },
}
SCSS
$custom: #ff5298;
$custom-light: #ff8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5298",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 335.723,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.21547,
    "h": 359.7
  },
  "luminance": 0.29562
}

Semantic roles & 50–950 ramp

primary
#FF5298
secondary
#BAF3DC
accent
#E68900
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#190D11
muted
#877E80

Preview Lab

Preview with #FF5298

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

Preview Lab → · Contrast checker → · Palette generator →

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