#F2787F#F2787F

#F2787F is a light, vivid red. Relative luminance 0.338; OKLCH L 71.5% C 0.150 H 18.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F2787F
RGBrgb(242, 120, 127)
HSLhsl(357, 82%, 71%)
HSVhsv(357, 50%, 95%)
CMYKcmyk(0%, 50.4%, 47.5%, 5.1%)
CIE-LABlab(64.84, 47.41, 18.36)
CIE-LCHlch(64.84, 50.84, 21.17°)
OKLaboklab(71.52% 0.1426 0.0465)
OKLCHoklch(71.52% 0.15 18.1)
XYZxyz(47.1684, 33.8475, 24.1238)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2787F #78F2EB
analogous
#F278BC #F2787F #F2AE78
triadic
#F2787F #7FF278 #787FF2
tetradic
#F2787F #BCF278 #78F2EB #AE78F2
square
#F2787F #BCF278 #78F2EB #AE78F2
split-complementary
#F2787F #78F2AE #78BCF2
monochromatic
#DB1520 #ED404A #F2787F #F7B0B4 #FCE3E5

Accessibility & contrast

On white

2.70
#F2787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#F2787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2787F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2787F#FFFFFF#000000##000000
##F2787F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2787f;
/* rgb */ color: rgb(242, 120, 127);
/* oklch */ color: oklch(71.5% 0.150 18.1);
Tailwind
colors: {
  custom: {
    50: '#fba2a4',
    500: '#f2787f',
    950: '#000000',
  },
}
SCSS
$custom: #f2787f;
$custom-light: #fba2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2787f",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.557,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.14999,
    "h": 18.1
  },
  "luminance": 0.33842
}

Semantic roles & 50–950 ramp

primary
#F2787F
secondary
#D3F3F1
accent
#DFD207
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #F2787F

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

Preview Lab → · Contrast checker → · Palette generator →

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