#FB878F#FB878F
#FB878F is a light, vivid red. Relative luminance 0.398; OKLCH L 75.3% C 0.141 H 16.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #FB878F |
|---|---|
| RGB | rgb(251, 135, 143) |
| HSL | hsl(356, 94%, 76%) |
| HSV | hsv(356, 46%, 98%) |
| CMYK | cmyk(0%, 46.2%, 43%, 1.6%) |
| CIE-LAB | lab(69.35, 44.73, 15.78) |
| CIE-LCH | lch(69.35, 47.43, 19.43°) |
| OKLab | oklab(75.29% 0.1351 0.0405) |
| OKLCH | oklch(75.29% 0.141 16.7) |
| XYZ | xyz(53.4087, 39.8255, 30.8556) |
| Luminance | 0.3982 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blush Pink
#FE828C
ΔE00 1.16
Lightcoral
#F08080
ΔE00 3.60
Rose Pink
#F7879A
ΔE00 3.73
Carnation
#FD798F
ΔE00 4.04
Salmon Pink
#FE7B7C
ΔE00 4.16
Watermelon
#FC6C85
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB878F #87FBF3
analogous
#FB87C9 #FB878F #FBB987
triadic
#FB878F #8FFB87 #878FFB
tetradic
#FB878F #C9FB87 #87FBF3 #B987FB
square
#FB878F #C9FB87 #87FBF3 #B987FB
split-complementary
#FB878F #87FBB9 #87C9FB
monochromatic
#F71120 #F94C58 #FB878F #FDC2C6 #FEE1E3
Accessibility & contrast
On white
2.34
#FB878F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#FB878F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB878F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB878F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB878F | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F9B8F
Deuteranopia (green-blind)
#BCB28D
Tritanopia (blue-blind)
#FF798A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #fb878f; /* rgb */ color: rgb(251, 135, 143); /* oklch */ color: oklch(75.3% 0.141 16.7);
Tailwind
colors: {
custom: {
50: '#ffacaf',
500: '#fb878f',
950: '#000000',
},
}SCSS
$custom: #fb878f; $custom-light: #ffacaf; $custom-dark: #000000;
JSON
{
"hex": "#fb878f",
"rgb": {
"r": 251,
"g": 135,
"b": 143
},
"hsl": {
"h": 355.862,
"s": 93.548,
"l": 75.686
},
"oklch": {
"l": 0.75294,
"c": 0.141,
"h": 16.7
},
"luminance": 0.3982
}Semantic roles & 50–950 ramp
primary
#FB878F
secondary
#D5F6F4
accent
#E6D600
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#181010
muted
#867F7F