#F07F87#F07F87

#F07F87 is a light, vivid red. Relative luminance 0.355; OKLCH L 72.5% C 0.139 H 16.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F07F87
RGBrgb(240, 127, 135)
HSLhsl(356, 79%, 72%)
HSVhsv(356, 47%, 94%)
CMYKcmyk(0%, 47.1%, 43.8%, 5.9%)
CIE-LABlab(66.10, 44.00, 15.54)
CIE-LCHlch(66.10, 46.66, 19.45°)
OKLaboklab(72.47% 0.1328 0.0398)
OKLCHoklch(72.47% 0.139 16.7)
XYZxyz(47.9006, 35.4580, 27.2384)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07F87 #7FF0E8
analogous
#F07FC0 #F07F87 #F0B07F
triadic
#F07F87 #87F07F #7F87F0
tetradic
#F07F87 #C0F07F #7FF0E8 #B07FF0
square
#F07F87 #C0F07F #7FF0E8 #B07FF0
split-complementary
#F07F87 #7FF0B0 #7FC0F0
monochromatic
#DB1A27 #EA4854 #F07F87 #F6B6BA #FCE4E5

Accessibility & contrast

On white

2.60
#F07F87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#F07F87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07F87
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07F87#FFFFFF#000000##000000
##F07F871.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#969387
Deuteranopia (green-blind)
#B2A985
Tritanopia (blue-blind)
#FF7182
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f07f87;
/* rgb */ color: rgb(240, 127, 135);
/* oklch */ color: oklch(72.5% 0.139 16.7);
Tailwind
colors: {
  custom: {
    50: '#f9a6a9',
    500: '#f07f87',
    950: '#000000',
  },
}
SCSS
$custom: #f07f87;
$custom-light: #f9a6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07f87",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 355.752,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72472,
    "c": 0.13865,
    "h": 16.7
  },
  "luminance": 0.35453
}

Semantic roles & 50–950 ramp

primary
#F07F87
secondary
#D7F4F2
accent
#DBCD0A
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#181010
muted
#867F7F

Preview Lab

Preview with #F07F87

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

Preview Lab → · Contrast checker → · Palette generator →

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