#F05498#F05498

#F05498 is a light, highly saturated pink. Relative luminance 0.271; OKLCH L 67.4% C 0.200 H 357.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#F05498
RGBrgb(240, 84, 152)
HSLhsl(334, 84%, 64%)
HSVhsv(334, 65%, 94%)
CMYKcmyk(0%, 65%, 36.7%, 5.9%)
CIE-LABlab(59.10, 65.33, -4.28)
CIE-LCHlch(59.10, 65.47, 356.25°)
OKLaboklab(67.36% 0.1999 -0.0104)
OKLCHoklch(67.36% 0.2 357)
XYZxyz(44.7757, 27.1381, 32.5799)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05498 #54F0AC
analogous
#F054E6 #F05498 #F05E54
triadic
#F05498 #98F054 #5498F0
tetradic
#F05498 #E6F054 #54F0AC #5E54F0
square
#F05498 #E6F054 #54F0AC #5E54F0
split-complementary
#F05498 #54F05E #54E6F0
monochromatic
#B9105A #EB1C76 #F05498 #F58CBA #FAC5DC

Accessibility & contrast

On white

3.27
#F05498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#F05498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05498
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05498#FFFFFF#000000##000000
##F054981.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9A
Deuteranopia (green-blind)
#9A9994
Tritanopia (blue-blind)
#FF4670
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #f05498;
/* rgb */ color: rgb(240, 84, 152);
/* oklch */ color: oklch(67.4% 0.200 357.0);
Tailwind
colors: {
  custom: {
    50: '#fa8db6',
    500: '#f05498',
    950: '#000000',
  },
}
SCSS
$custom: #f05498;
$custom-light: #fa8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#f05498",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 333.846,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67364,
    "c": 0.20014,
    "h": 357
  },
  "luminance": 0.27133
}

Semantic roles & 50–950 ramp

primary
#F05498
secondary
#B4ECD3
accent
#E08105
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #F05498

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

Preview Lab → · Contrast checker → · Palette generator →

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