#FB797C#FB797C
#FB797C is a light, vivid red. Relative luminance 0.356; OKLCH L 72.8% C 0.159 H 20.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #FB797C |
|---|---|
| RGB | rgb(251, 121, 124) |
| HSL | hsl(359, 94%, 73%) |
| HSV | hsv(359, 52%, 98%) |
| CMYK | cmyk(0%, 51.8%, 50.6%, 1.6%) |
| CIE-LAB | lab(66.25, 49.82, 22.18) |
| CIE-LCH | lch(66.25, 54.53, 24.00°) |
| OKLab | oklab(72.82% 0.1492 0.0555) |
| OKLCH | oklch(72.82% 0.159 20.4) |
| XYZ | xyz(50.2628, 35.6448, 23.2981) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 0.89
Lightcoral
#F08080
ΔE00 2.29
Blush Pink
#FE828C
ΔE00 3.43
Salmon (survey)
#FF796C
ΔE00 4.99
Salmon
#FA8072
ΔE00 5.01
Coral Pink
#FF6163
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB797C #79FBF8
analogous
#FB79BD #FB797C #FBB779
triadic
#FB797C #7CFB79 #797CFB
tetradic
#FB797C #BDFB79 #79FBF8 #B779FB
square
#FB797C #BDFB79 #79FBF8 #B779FB
split-complementary
#FB797C #79FBB7 #79BDFB
monochromatic
#F2070D #F93E42 #FB797C #FDB4B6 #FEE1E2
Accessibility & contrast
On white
2.58
#FB797C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#FB797C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB797C
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB797C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB797C | 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)
#96907B
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #fb797c; /* rgb */ color: rgb(251, 121, 124); /* oklch */ color: oklch(72.8% 0.159 20.4);
Tailwind
colors: {
custom: {
50: '#ffa3a1',
500: '#fb797c',
950: '#000000',
},
}SCSS
$custom: #fb797c; $custom-light: #ffa3a1; $custom-dark: #000000;
JSON
{
"hex": "#fb797c",
"rgb": {
"r": 251,
"g": 121,
"b": 124
},
"hsl": {
"h": 358.615,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.72817,
"c": 0.15915,
"h": 20.4
},
"luminance": 0.35639
}Semantic roles & 50–950 ramp
primary
#FB797C
secondary
#D5F6F6
accent
#E6E000
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0F
muted
#877F7E