#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 |
|---|---|
| RGB | rgb(242, 120, 127) |
| HSL | hsl(357, 82%, 71%) |
| HSV | hsv(357, 50%, 95%) |
| CMYK | cmyk(0%, 50.4%, 47.5%, 5.1%) |
| CIE-LAB | lab(64.84, 47.41, 18.36) |
| CIE-LCH | lch(64.84, 50.84, 21.17°) |
| OKLab | oklab(71.52% 0.1426 0.0465) |
| OKLCH | oklch(71.52% 0.15 18.1) |
| XYZ | xyz(47.1684, 33.8475, 24.1238) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.35
Salmon Pink
#FE7B7C
ΔE00 3.03
Blush Pink
#FE828C
ΔE00 3.28
Watermelon
#FC6C85
ΔE00 4.37
Carnation
#FD798F
ΔE00 4.40
Rose Pink
#F7879A
ΔE00 5.97
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 |
|---|---|---|---|---|
| ##F2787F | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.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