#FB797F#FB797F
#FB797F is a light, vivid red. Relative luminance 0.357; OKLCH L 72.9% C 0.159 H 19.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #FB797F |
|---|---|
| RGB | rgb(251, 121, 127) |
| HSL | hsl(357, 94%, 73%) |
| HSV | hsv(357, 52%, 98%) |
| CMYK | cmyk(0%, 51.8%, 49.4%, 1.6%) |
| CIE-LAB | lab(66.31, 50.08, 20.57) |
| CIE-LCH | lch(66.31, 54.14, 22.33°) |
| OKLab | oklab(72.88% 0.1503 0.0518) |
| OKLCH | oklch(72.88% 0.159 19) |
| XYZ | xyz(50.4555, 35.7219, 24.3125) |
| Luminance | 0.3572 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 1.64
Lightcoral
#F08080
ΔE00 2.46
Blush Pink
#FE828C
ΔE00 2.74
Carnation
#FD798F
ΔE00 4.69
Watermelon
#FC6C85
ΔE00 4.88
Coral Pink
#FF6163
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB797F #79FBF5
analogous
#FB79C0 #FB797F #FBB479
triadic
#FB797F #7FFB79 #797FFB
tetradic
#FB797F #C0FB79 #79FBF5 #B479FB
square
#FB797F #C0FB79 #79FBF5 #B479FB
split-complementary
#FB797F #79FBB4 #79C0FB
monochromatic
#F20712 #F93E46 #FB797F #FDB4B8 #FEE1E3
Accessibility & contrast
On white
2.58
#FB797F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#FB797F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB797F
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB797F | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96917E
Deuteranopia (green-blind)
#B6AB7C
Tritanopia (blue-blind)
#FF667C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #fb797f; /* rgb */ color: rgb(251, 121, 127); /* oklch */ color: oklch(72.9% 0.159 19.0);
Tailwind
colors: {
custom: {
50: '#ffa3a4',
500: '#fb797f',
950: '#000000',
},
}SCSS
$custom: #fb797f; $custom-light: #ffa3a4; $custom-dark: #000000;
JSON
{
"hex": "#fb797f",
"rgb": {
"r": 251,
"g": 121,
"b": 127
},
"hsl": {
"h": 357.231,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.72881,
"c": 0.15896,
"h": 19
},
"luminance": 0.35716
}Semantic roles & 50–950 ramp
primary
#FB797F
secondary
#D5F6F5
accent
#E6DB00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F