#F07198#F07198

#F07198 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.9% C 0.160 H 2.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#F07198
RGBrgb(240, 113, 152)
HSLhsl(342, 81%, 69%)
HSVhsv(342, 53%, 94%)
CMYKcmyk(0%, 52.9%, 36.7%, 5.9%)
CIE-LABlab(63.84, 52.67, 2.65)
CIE-LCHlch(63.84, 52.74, 2.88°)
OKLaboklab(70.9% 0.1603 0.0076)
OKLCHoklch(70.9% 0.16 2.7)
XYZxyz(47.5104, 32.6073, 33.4914)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07198 #71F0C9
analogous
#F071D8 #F07198 #F08A71
triadic
#F07198 #98F071 #7198F0
tetradic
#F07198 #D8F071 #71F0C9 #8A71F0
square
#F07198 #D8F071 #71F0C9 #8A71F0
split-complementary
#F07198 #71F08A #71D8F0
monochromatic
#D1164F #EA3A70 #F07198 #F6A8C0 #FCE0E8

Accessibility & contrast

On white

2.79
#F07198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#F07198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07198
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07198#FFFFFF#000000##000000
##F071981.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#878C99
Deuteranopia (green-blind)
#A8A495
Tritanopia (blue-blind)
#FF667F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f07198;
/* rgb */ color: rgb(240, 113, 152);
/* oklch */ color: oklch(70.9% 0.160 2.7);
Tailwind
colors: {
  custom: {
    50: '#f99eb6',
    500: '#f07198',
    950: '#000000',
  },
}
SCSS
$custom: #f07198;
$custom-light: #f99eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07198",
  "rgb": {
    "r": 240,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 341.575,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70898,
    "c": 0.16045,
    "h": 2.7
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#F07198
secondary
#CCF1E6
accent
#DD9C08
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F11
muted
#867E80

Preview Lab

Preview with #F07198

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

Preview Lab → · Contrast checker → · Palette generator →

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