#FB798F#FB798F
#FB798F is a light, vivid red. Relative luminance 0.362; OKLCH L 73.3% C 0.159 H 11.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #FB798F |
|---|---|
| RGB | rgb(251, 121, 143) |
| HSL | hsl(350, 94%, 73%) |
| HSV | hsv(350, 52%, 98%) |
| CMYK | cmyk(0%, 51.8%, 43%, 1.6%) |
| CIE-LAB | lab(66.65, 51.58, 12.01) |
| CIE-LCH | lch(66.65, 52.96, 13.10°) |
| OKLab | oklab(73.25% 0.1563 0.0312) |
| OKLCH | oklch(73.25% 0.159 11.3) |
| XYZ | xyz(51.5822, 36.1726, 30.2468) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 0.35
Watermelon
#FC6C85
ΔE00 2.62
Rose Pink
#F7879A
ΔE00 3.11
Blush Pink
#FE828C
ΔE00 3.50
Rosa
#FE86A4
ΔE00 4.49
Rosy Pink
#F6688E
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB798F #79FBE5
analogous
#FB79D0 #FB798F #FBA479
triadic
#FB798F #8FFB79 #798FFB
tetradic
#FB798F #D0FB79 #79FBE5 #A479FB
square
#FB798F #D0FB79 #79FBE5 #A479FB
split-complementary
#FB798F #79FBA4 #79D0FB
monochromatic
#F2072F #F93E5D #FB798F #FDB4C1 #FEE1E6
Accessibility & contrast
On white
2.55
#FB798F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#FB798F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB798F
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB798F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB798F | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93928F
Deuteranopia (green-blind)
#B4AC8C
Tritanopia (blue-blind)
#FF6A81
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #fb798f; /* rgb */ color: rgb(251, 121, 143); /* oklch */ color: oklch(73.3% 0.159 11.3);
Tailwind
colors: {
custom: {
50: '#ffa3af',
500: '#fb798f',
950: '#000000',
},
}SCSS
$custom: #fb798f; $custom-light: #ffa3af; $custom-dark: #000000;
JSON
{
"hex": "#fb798f",
"rgb": {
"r": 251,
"g": 121,
"b": 143
},
"hsl": {
"h": 349.846,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.73254,
"c": 0.15939,
"h": 11.3
},
"luminance": 0.36167
}Semantic roles & 50–950 ramp
primary
#FB798F
secondary
#D5F6F1
accent
#E6BF00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F