#F05998#F05998

#F05998 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.9% C 0.194 H 357.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#F05998
RGBrgb(240, 89, 152)
HSLhsl(335, 83%, 65%)
HSVhsv(335, 63%, 94%)
CMYKcmyk(0%, 62.9%, 36.7%, 5.9%)
CIE-LABlab(59.84, 63.33, -3.20)
CIE-LCHlch(59.84, 63.41, 357.11°)
OKLaboklab(67.91% 0.1936 -0.0076)
OKLCHoklch(67.91% 0.194 357.8)
XYZxyz(45.1778, 27.9421, 32.7139)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05998 #59F0B1
analogous
#F059E3 #F05998 #F06659
triadic
#F05998 #98F059 #5998F0
tetradic
#F05998 #E3F059 #59F0B1 #6659F0
square
#F05998 #E3F059 #59F0B1 #6659F0
split-complementary
#F05998 #59F066 #59E3F0
monochromatic
#BD1159 #EB2175 #F05998 #F591BB #FAC9DE

Accessibility & contrast

On white

3.19
#F05998 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#F05998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05998
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05998#FFFFFF#000000##000000
##F059981.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E9A
Deuteranopia (green-blind)
#9C9B94
Tritanopia (blue-blind)
#FF4B72
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f05998;
/* rgb */ color: rgb(240, 89, 152);
/* oklch */ color: oklch(67.9% 0.194 357.8);
Tailwind
colors: {
  custom: {
    50: '#fa90b6',
    500: '#f05998',
    950: '#000000',
  },
}
SCSS
$custom: #f05998;
$custom-light: #fa90b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f05998",
  "rgb": {
    "r": 240,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 334.967,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67908,
    "c": 0.19371,
    "h": 357.8
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

primary
#F05998
secondary
#B8ECD7
accent
#E08506
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #F05998

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

Preview Lab → · Contrast checker → · Palette generator →

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