#F9798F#F9798F
#F9798F is a light, vivid red. Relative luminance 0.358; OKLCH L 73.0% C 0.157 H 11.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F9798F |
|---|---|
| RGB | rgb(249, 121, 143) |
| HSL | hsl(350, 91%, 73%) |
| HSV | hsv(350, 51%, 98%) |
| CMYK | cmyk(0%, 51.4%, 42.6%, 2.4%) |
| CIE-LAB | lab(66.37, 50.90, 11.57) |
| CIE-LCH | lch(66.37, 52.20, 12.80°) |
| OKLab | oklab(72.98% 0.1543 0.0301) |
| OKLCH | oklch(72.98% 0.157 11) |
| XYZ | xyz(50.8654, 35.8030, 30.2132) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 0.71
Watermelon
#FC6C85
ΔE00 2.65
Rose Pink
#F7879A
ΔE00 3.07
Blush Pink
#FE828C
ΔE00 3.69
Rosy Pink
#F6688E
ΔE00 4.39
Rosa
#FE86A4
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9798F #79F9E3
analogous
#F979CF #F9798F #F9A379
triadic
#F9798F #8FF979 #798FF9
tetradic
#F9798F #CFF979 #79F9E3 #A379F9
square
#F9798F #CFF979 #79F9E3 #A379F9
split-complementary
#F9798F #79F9A3 #79CFF9
monochromatic
#ED0B32 #F63E5E #F9798F #FCB4C0 #FEE2E7
Accessibility & contrast
On white
2.57
#F9798F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#F9798F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9798F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9798F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9798F | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92928F
Deuteranopia (green-blind)
#B3AB8C
Tritanopia (blue-blind)
#FF6A81
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f9798f; /* rgb */ color: rgb(249, 121, 143); /* oklch */ color: oklch(73.0% 0.157 11.0);
Tailwind
colors: {
custom: {
50: '#ffa3af',
500: '#f9798f',
950: '#000000',
},
}SCSS
$custom: #f9798f; $custom-light: #ffa3af; $custom-dark: #000000;
JSON
{
"hex": "#f9798f",
"rgb": {
"r": 249,
"g": 121,
"b": 143
},
"hsl": {
"h": 349.688,
"s": 91.429,
"l": 72.549
},
"oklch": {
"l": 0.72984,
"c": 0.15719,
"h": 11
},
"luminance": 0.35798
}Semantic roles & 50–950 ramp
primary
#F9798F
secondary
#D5F6F0
accent
#E6BE00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F