#F07897#F07897

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

Color values

HEX#F07897
RGBrgb(240, 120, 151)
HSLhsl(345, 80%, 71%)
HSVhsv(345, 50%, 94%)
CMYKcmyk(0%, 50%, 37.1%, 5.9%)
CIE-LABlab(65.12, 49.18, 5.07)
CIE-LCHlch(65.12, 49.45, 5.88°)
OKLaboklab(71.85% 0.1495 0.0137)
OKLCHoklch(71.85% 0.15 5.2)
XYZxyz(48.2401, 34.1973, 33.3323)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07897 #78F0D1
analogous
#F078D3 #F07897 #F09578
triadic
#F07897 #97F078 #7897F0
tetradic
#F07897 #D3F078 #78F0D1 #9578F0
square
#F07897 #D3F078 #78F0D1 #9578F0
split-complementary
#F07897 #78F095 #78D3F0
monochromatic
#D61849 #EA416D #F07897 #F6AFC1 #FCE3EA

Accessibility & contrast

On white

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

On black

7.84
#F07897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07897
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07897#FFFFFF#000000##000000
##F078971.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9098
Deuteranopia (green-blind)
#ACA794
Tritanopia (blue-blind)
#FF6D83
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f07897;
/* rgb */ color: rgb(240, 120, 151);
/* oklch */ color: oklch(71.9% 0.150 5.2);
Tailwind
colors: {
  custom: {
    50: '#f8a2b5',
    500: '#f07897',
    950: '#000000',
  },
}
SCSS
$custom: #f07897;
$custom-light: #f8a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f07897",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 344.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.1501,
    "h": 5.2
  },
  "luminance": 0.34193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07897

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

Preview Lab → · Contrast checker → · Palette generator →

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