#F07898#F07898

#F07898 is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.9% C 0.150 H 4.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F07898
RGBrgb(240, 120, 152)
HSLhsl(344, 80%, 71%)
HSVhsv(344, 50%, 94%)
CMYKcmyk(0%, 50%, 36.7%, 5.9%)
CIE-LABlab(65.14, 49.30, 4.54)
CIE-LCHlch(65.14, 49.51, 5.26°)
OKLaboklab(71.88% 0.1498 0.0124)
OKLCHoklch(71.88% 0.15 4.7)
XYZxyz(48.3217, 34.2299, 33.7618)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07898 #78F0D0
analogous
#F078D4 #F07898 #F09478
triadic
#F07898 #98F078 #7898F0
tetradic
#F07898 #D4F078 #78F0D0 #9478F0
square
#F07898 #D4F078 #78F0D0 #9478F0
split-complementary
#F07898 #78F094 #78D4F0
monochromatic
#D6184A #EA416E #F07898 #F6AFC2 #FCE3EA

Accessibility & contrast

On white

2.68
#F07898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F07898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07898
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07898#FFFFFF#000000##000000
##F078981.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9099
Deuteranopia (green-blind)
#ACA795
Tritanopia (blue-blind)
#FF6D84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f07898;
/* rgb */ color: rgb(240, 120, 152);
/* oklch */ color: oklch(71.9% 0.150 4.7);
Tailwind
colors: {
  custom: {
    50: '#f8a2b6',
    500: '#f07898',
    950: '#000000',
  },
}
SCSS
$custom: #f07898;
$custom-light: #f8a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07898",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 344,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.15034,
    "h": 4.7
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

primary
#F07898
secondary
#D2F2EA
accent
#DCA409
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #F07898

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

Preview Lab → · Contrast checker → · Palette generator →

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