#F07A98#F07A98

#F07A98 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.2% C 0.147 H 5.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#F07A98
RGBrgb(240, 122, 152)
HSLhsl(345, 80%, 71%)
HSVhsv(345, 49%, 94%)
CMYKcmyk(0%, 49.2%, 36.7%, 5.9%)
CIE-LABlab(65.53, 48.32, 5.09)
CIE-LCHlch(65.53, 48.59, 6.01°)
OKLaboklab(72.17% 0.1468 0.0138)
OKLCHoklch(72.17% 0.147 5.4)
XYZxyz(48.5647, 34.7160, 33.8429)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07A98 #7AF0D2
analogous
#F07AD3 #F07A98 #F0977A
triadic
#F07A98 #98F07A #7A98F0
tetradic
#F07A98 #D3F07A #7AF0D2 #977AF0
square
#F07A98 #D3F07A #7AF0D2 #977AF0
split-complementary
#F07A98 #7AF097 #7AD3F0
monochromatic
#D71849 #EA436D #F07A98 #F6B1C3 #FCE4EA

Accessibility & contrast

On white

2.64
#F07A98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#F07A98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07A98
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07A98#FFFFFF#000000##000000
##F07A981.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9199
Deuteranopia (green-blind)
#ADA895
Tritanopia (blue-blind)
#FF6F85
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f07a98;
/* rgb */ color: rgb(240, 122, 152);
/* oklch */ color: oklch(72.2% 0.147 5.4);
Tailwind
colors: {
  custom: {
    50: '#f8a3b6',
    500: '#f07a98',
    950: '#000000',
  },
}
SCSS
$custom: #f07a98;
$custom-light: #f8a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07a98",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 344.746,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.14744,
    "h": 5.4
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#F07A98
secondary
#D3F3EB
accent
#DCA709
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #F07A98

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

Preview Lab → · Contrast checker → · Palette generator →

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