#FB787F#FB787F
#FB787F is a light, vivid red. Relative luminance 0.355; OKLCH L 72.7% C 0.160 H 18.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #FB787F |
|---|---|
| RGB | rgb(251, 120, 127) |
| HSL | hsl(357, 94%, 73%) |
| HSV | hsv(357, 52%, 98%) |
| CMYK | cmyk(0%, 52.2%, 49.4%, 1.6%) |
| CIE-LAB | lab(66.12, 50.56, 20.32) |
| CIE-LCH | lch(66.12, 54.49, 21.90°) |
| OKLab | oklab(72.74% 0.1518 0.0512) |
| OKLCH | oklch(72.74% 0.16 18.6) |
| XYZ | xyz(50.3346, 35.4801, 24.2722) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 1.90
Lightcoral
#F08080
ΔE00 2.65
Blush Pink
#FE828C
ΔE00 2.76
Carnation
#FD798F
ΔE00 4.49
Watermelon
#FC6C85
ΔE00 4.59
Coral Pink
#FF6163
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB787F #78FBF4
analogous
#FB78C0 #FB787F #FBB278
triadic
#FB787F #7FFB78 #787FFB
tetradic
#FB787F #C0FB78 #78FBF4 #B278FB
square
#FB787F #C0FB78 #78FBF4 #B278FB
split-complementary
#FB787F #78FBB2 #78C0FB
monochromatic
#F10714 #F93D47 #FB787F #FDB3B7 #FEE1E3
Accessibility & contrast
On white
2.59
#FB787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#FB787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB787F
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB787F | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95907F
Deuteranopia (green-blind)
#B6AB7C
Tritanopia (blue-blind)
#FF657B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #fb787f; /* rgb */ color: rgb(251, 120, 127); /* oklch */ color: oklch(72.7% 0.160 18.6);
Tailwind
colors: {
custom: {
50: '#ffa2a4',
500: '#fb787f',
950: '#000000',
},
}SCSS
$custom: #fb787f; $custom-light: #ffa2a4; $custom-dark: #000000;
JSON
{
"hex": "#fb787f",
"rgb": {
"r": 251,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.794,
"s": 94.245,
"l": 72.745
},
"oklch": {
"l": 0.7274,
"c": 0.16018,
"h": 18.6
},
"luminance": 0.35474
}Semantic roles & 50–950 ramp
primary
#FB787F
secondary
#D5F6F5
accent
#E6D900
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F