#F2987F#F2987F

#F2987F is a light, moderate red. Relative luminance 0.429; OKLCH L 76.6% C 0.115 H 36.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#F2987F
RGBrgb(242, 152, 127)
HSLhsl(13, 82%, 72%)
HSVhsv(13, 48%, 95%)
CMYKcmyk(0%, 37.2%, 47.5%, 5.1%)
CIE-LABlab(71.47, 31.09, 27.32)
CIE-LCHlch(71.47, 41.38, 41.31°)
OKLaboklab(76.57% 0.0924 0.0678)
OKLCHoklch(76.57% 0.115 36.3)
XYZxyz(51.6799, 42.8705, 25.6276)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2987F #7FD9F2
analogous
#F27FA0 #F2987F #F2D17F
triadic
#F2987F #7FF298 #987FF2
tetradic
#F2987F #A0F27F #7FD9F2 #D17FF2
square
#F2987F #A0F27F #7FD9F2 #D17FF2
split-complementary
#F2987F #7FF2D1 #7FA0F2
monochromatic
#E04217 #EC6B47 #F2987F #F8C5B7 #FCE9E3

Accessibility & contrast

On white

2.19
#F2987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#F2987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2987F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2987F#FFFFFF#000000##000000
##F2987F1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47D
Deuteranopia (green-blind)
#C3B67E
Tritanopia (blue-blind)
#FF8A92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f2987f;
/* rgb */ color: rgb(242, 152, 127);
/* oklch */ color: oklch(76.6% 0.115 36.3);
Tailwind
colors: {
  custom: {
    50: '#fab7a4',
    500: '#f2987f',
    950: '#000000',
  },
}
SCSS
$custom: #f2987f;
$custom-light: #fab7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2987f",
  "rgb": {
    "r": 242,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 13.043,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.11463,
    "h": 36.3
  },
  "luminance": 0.42866
}

Semantic roles & 50–950 ramp

primary
#F2987F
secondary
#D7EEF4
accent
#AFDE08
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#18110F
muted
#86807F

Preview Lab

Preview with #F2987F

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

Preview Lab → · Contrast checker → · Palette generator →

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