#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 |
|---|---|
| RGB | rgb(242, 152, 127) |
| HSL | hsl(13, 82%, 72%) |
| HSV | hsv(13, 48%, 95%) |
| CMYK | cmyk(0%, 37.2%, 47.5%, 5.1%) |
| CIE-LAB | lab(71.47, 31.09, 27.32) |
| CIE-LCH | lch(71.47, 41.38, 41.31°) |
| OKLab | oklab(76.57% 0.0924 0.0678) |
| OKLCH | oklch(76.57% 0.115 36.3) |
| XYZ | xyz(51.6799, 42.8705, 25.6276) |
| Luminance | 0.4287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darksalmon
#E9967A
ΔE00 2.13
Blush (survey)
#F29E8E
ΔE00 3.39
Peachy Pink
#FF9A8A
ΔE00 4.00
Light Salmon
#FEA993
ΔE00 4.35
Lightsalmon
#FFA07A
ΔE00 4.51
Pinkish Tan
#D99B82
ΔE00 5.62
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 |
|---|---|---|---|---|
| ##F2987F | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.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