#F0787F#F0787F

#F0787F is a light, vivid red. Relative luminance 0.335; OKLCH L 71.2% C 0.148 H 17.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F0787F
RGBrgb(240, 120, 127)
HSLhsl(357, 80%, 71%)
HSVhsv(357, 50%, 94%)
CMYKcmyk(0%, 50%, 47.1%, 5.9%)
CIE-LABlab(64.56, 46.70, 17.93)
CIE-LCHlch(64.56, 50.02, 21.00°)
OKLaboklab(71.25% 0.1405 0.0455)
OKLCHoklch(71.25% 0.148 17.9)
XYZxyz(46.4856, 33.4954, 24.0917)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0787F #78F0E9
analogous
#F078BB #F0787F #F0AD78
triadic
#F0787F #7FF078 #787FF0
tetradic
#F0787F #BBF078 #78F0E9 #AD78F0
square
#F0787F #BBF078 #78F0E9 #AD78F0
split-complementary
#F0787F #78F0AD #78BBF0
monochromatic
#D61823 #EA414B #F0787F #F6AFB3 #FCE3E5

Accessibility & contrast

On white

2.73
#F0787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F0787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0787F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0787F#FFFFFF#000000##000000
##F0787F1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E7F
Deuteranopia (green-blind)
#B0A67D
Tritanopia (blue-blind)
#FF687B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f0787f;
/* rgb */ color: rgb(240, 120, 127);
/* oklch */ color: oklch(71.2% 0.148 17.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2a4',
    500: '#f0787f',
    950: '#000000',
  },
}
SCSS
$custom: #f0787f;
$custom-light: #f9a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0787f",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.14771,
    "h": 17.9
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#F0787F
secondary
#D2F2F0
accent
#DCD009
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #F0787F

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

Preview Lab → · Contrast checker → · Palette generator →

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