#FF5198#FF5198

#FF5198 is a light, highly saturated pink. Relative luminance 0.294; OKLCH L 69.3% C 0.217 H 359.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#FF5198
RGBrgb(255, 81, 152)
HSLhsl(336, 100%, 66%)
HSVhsv(336, 68%, 100%)
CMYKcmyk(0%, 68.2%, 40.4%, 0%)
CIE-LABlab(61.15, 70.69, -0.99)
CIE-LCHlch(61.15, 70.70, 359.20°)
OKLaboklab(69.34% 0.2166 -0.0017)
OKLCHoklch(69.34% 0.217 359.5)
XYZxyz(49.8534, 29.4180, 32.7526)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5198 #51FFB8
analogous
#FF51EF #FF5198 #FF6151
triadic
#FF5198 #98FF51 #5198FF
tetradic
#FF5198 #EFFF51 #51FFB8 #6151FF
square
#FF5198 #EFFF51 #51FFB8 #6151FF
split-complementary
#FF5198 #51FF61 #51EFFF
monochromatic
#D60057 #FF1474 #FF5198 #FF8EBC #FFCBE0

Accessibility & contrast

On white

3.05
#FF5198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#FF5198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5198
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5198#FFFFFF#000000##000000
##FF51981.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E9A
Deuteranopia (green-blind)
#A3A094
Tritanopia (blue-blind)
#FF3C6E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ff5198;
/* rgb */ color: rgb(255, 81, 152);
/* oklch */ color: oklch(69.3% 0.217 359.5);
Tailwind
colors: {
  custom: {
    50: '#ff8db6',
    500: '#ff5198',
    950: '#000000',
  },
}
SCSS
$custom: #ff5198;
$custom-light: #ff8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5198",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 335.517,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6934,
    "c": 0.21662,
    "h": 359.5
  },
  "luminance": 0.29412
}

Semantic roles & 50–950 ramp

primary
#FF5198
secondary
#B9F3DB
accent
#E68800
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#190D11
muted
#877E80

Preview Lab

Preview with #FF5198

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

Preview Lab → · Contrast checker → · Palette generator →

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