#F9798A#F9798A
#F9798A is a light, vivid red. Relative luminance 0.356; OKLCH L 72.9% C 0.157 H 13.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F9798A |
|---|---|
| RGB | rgb(249, 121, 138) |
| HSL | hsl(352, 91%, 73%) |
| HSV | hsv(352, 51%, 98%) |
| CMYK | cmyk(0%, 51.4%, 44.6%, 2.4%) |
| CIE-LAB | lab(66.26, 50.41, 14.24) |
| CIE-LCH | lch(66.26, 52.38, 15.78°) |
| OKLab | oklab(72.86% 0.1524 0.0366) |
| OKLCH | oklch(72.86% 0.157 13.5) |
| XYZ | xyz(50.4950, 35.6548, 28.2627) |
| Luminance | 0.3565 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 1.38
Watermelon
#FC6C85
ΔE00 2.60
Blush Pink
#FE828C
ΔE00 2.63
Rose Pink
#F7879A
ΔE00 3.69
Lightcoral
#F08080
ΔE00 4.73
Salmon Pink
#FE7B7C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9798A #79F9E8
analogous
#F979CA #F9798A #F9A879
triadic
#F9798A #8AF979 #798AF9
tetradic
#F9798A #CAF979 #79F9E8 #A879F9
square
#F9798A #CAF979 #79F9E8 #A879F9
split-complementary
#F9798A #79F9A8 #79CAF9
monochromatic
#ED0B29 #F63E57 #F9798A #FCB4BD #FEE2E5
Accessibility & contrast
On white
2.58
#F9798A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#F9798A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9798A
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9798A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9798A | 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)
#93918A
Deuteranopia (green-blind)
#B4AB87
Tritanopia (blue-blind)
#FF697F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f9798a; /* rgb */ color: rgb(249, 121, 138); /* oklch */ color: oklch(72.9% 0.157 13.5);
Tailwind
colors: {
custom: {
50: '#ffa3ac',
500: '#f9798a',
950: '#000000',
},
}SCSS
$custom: #f9798a; $custom-light: #ffa3ac; $custom-dark: #000000;
JSON
{
"hex": "#f9798a",
"rgb": {
"r": 249,
"g": 121,
"b": 138
},
"hsl": {
"h": 352.031,
"s": 91.429,
"l": 72.549
},
"oklch": {
"l": 0.72861,
"c": 0.15677,
"h": 13.5
},
"luminance": 0.35649
}Semantic roles & 50–950 ramp
primary
#F9798A
secondary
#D5F6F1
accent
#E6C700
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F