#F9787F#F9787F
#F9787F is a light, vivid red. Relative luminance 0.351; OKLCH L 72.5% C 0.158 H 18.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F9787F |
|---|---|
| RGB | rgb(249, 120, 127) |
| HSL | hsl(357, 91%, 72%) |
| HSV | hsv(357, 52%, 98%) |
| CMYK | cmyk(0%, 51.8%, 49%, 2.4%) |
| CIE-LAB | lab(65.83, 49.86, 19.88) |
| CIE-LCH | lch(65.83, 53.68, 21.74°) |
| OKLab | oklab(72.47% 0.1498 0.0501) |
| OKLCH | oklch(72.47% 0.158 18.5) |
| XYZ | xyz(49.6177, 35.1105, 24.2386) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 2.11
Lightcoral
#F08080
ΔE00 2.51
Blush Pink
#FE828C
ΔE00 2.81
Carnation
#FD798F
ΔE00 4.42
Watermelon
#FC6C85
ΔE00 4.49
Coral Pink
#FF6163
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9787F #78F9F2
analogous
#F978C0 #F9787F #F9B178
triadic
#F9787F #7FF978 #787FF9
tetradic
#F9787F #C0F978 #78F9F2 #B178F9
square
#F9787F #C0F978 #78F9F2 #B178F9
split-complementary
#F9787F #78F9B1 #78C0F9
monochromatic
#EC0A17 #F63D47 #F9787F #FCB3B7 #FEE2E3
Accessibility & contrast
On white
2.62
#F9787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#F9787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9787F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9787F | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95907F
Deuteranopia (green-blind)
#B5AA7C
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f9787f; /* rgb */ color: rgb(249, 120, 127); /* oklch */ color: oklch(72.5% 0.158 18.5);
Tailwind
colors: {
custom: {
50: '#ffa2a4',
500: '#f9787f',
950: '#000000',
},
}SCSS
$custom: #f9787f; $custom-light: #ffa2a4; $custom-dark: #000000;
JSON
{
"hex": "#f9787f",
"rgb": {
"r": 249,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.744,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.72466,
"c": 0.15793,
"h": 18.5
},
"luminance": 0.35105
}Semantic roles & 50–950 ramp
primary
#F9787F
secondary
#D5F6F4
accent
#E6D900
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F