#FC787F#FC787F
#FC787F is a light, vivid red. Relative luminance 0.357; OKLCH L 72.9% C 0.161 H 18.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #FC787F |
|---|---|
| RGB | rgb(252, 120, 127) |
| HSL | hsl(357, 96%, 73%) |
| HSV | hsv(357, 52%, 99%) |
| CMYK | cmyk(0%, 52.4%, 49.6%, 1.2%) |
| CIE-LAB | lab(66.26, 50.90, 20.54) |
| CIE-LCH | lch(66.26, 54.89, 21.97°) |
| OKLab | oklab(72.88% 0.1528 0.0517) |
| OKLCH | oklch(72.88% 0.161 18.7) |
| XYZ | xyz(50.6958, 35.6664, 24.2891) |
| Luminance | 0.3566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 1.82
Lightcoral
#F08080
ΔE00 2.74
Blush Pink
#FE828C
ΔE00 2.74
Carnation
#FD798F
ΔE00 4.53
Watermelon
#FC6C85
ΔE00 4.65
Coral Pink
#FF6163
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FC787F #78FCF5
analogous
#FC78C1 #FC787F #FCB378
triadic
#FC787F #7FFC78 #787FFC
tetradic
#FC787F #C1FC78 #78FCF5 #B378FC
square
#FC787F #C1FC78 #78FCF5 #B378FC
split-complementary
#FC787F #78FCB3 #78C1FC
monochromatic
#F40512 #FB3C46 #FC787F #FDB4B8 #FEE1E3
Accessibility & contrast
On white
2.58
#FC787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#FC787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FC787F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FC787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FC787F | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95907F
Deuteranopia (green-blind)
#B7AB7C
Tritanopia (blue-blind)
#FF657B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #fc787f; /* rgb */ color: rgb(252, 120, 127); /* oklch */ color: oklch(72.9% 0.161 18.7);
Tailwind
colors: {
custom: {
50: '#ffa2a4',
500: '#fc787f',
950: '#000000',
},
}SCSS
$custom: #fc787f; $custom-light: #ffa2a4; $custom-dark: #000000;
JSON
{
"hex": "#fc787f",
"rgb": {
"r": 252,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.818,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.72877,
"c": 0.1613,
"h": 18.7
},
"luminance": 0.35661
}Semantic roles & 50–950 ramp
primary
#FC787F
secondary
#D4F7F5
accent
#E6D900
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F