#FFA797#FFA797
#FFA797 is a light, moderate red. Relative luminance 0.511; OKLCH L 81.1% C 0.107 H 30.8°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #FFA797 |
|---|---|
| RGB | rgb(255, 167, 151) |
| HSL | hsl(9, 100%, 80%) |
| HSV | hsv(9, 41%, 100%) |
| CMYK | cmyk(0%, 34.5%, 40.8%, 0%) |
| CIE-LAB | lab(76.76, 30.62, 21.70) |
| CIE-LCH | lch(76.76, 37.53, 35.33°) |
| OKLab | oklab(81.13% 0.0923 0.055) |
| OKLCH | oklch(81.13% 0.107 30.8) |
| XYZ | xyz(60.6474, 51.1365, 35.9483) |
| Luminance | 0.5113 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Salmon
#FEA993
ΔE00 2.21
Blush (survey)
#F29E8E
ΔE00 2.74
Peachy Pink
#FF9A8A
ΔE00 3.15
Pale Salmon
#FFB19A
ΔE00 3.66
Darksalmon
#E9967A
ΔE00 6.79
Lightsalmon
#FFA07A
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFA797 #97EFFF
analogous
#FF97BB #FFA797 #FFDB97
triadic
#FFA797 #97FFA7 #A797FF
tetradic
#FFA797 #BBFF97 #97EFFF #DB97FF
square
#FFA797 #BBFF97 #97EFFF #DB97FF
split-complementary
#FFA797 #97FFDB #97BBFF
monochromatic
#FF3F1D #FF735A #FFA797 #FFDBD4 #FFE5E0
Accessibility & contrast
On white
1.87
#FFA797 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.23
#FFA797 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFA797
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFA797 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFA797 | 1.00 | 1.87 | 11.23 | 11.23 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBB396
Deuteranopia (green-blind)
#D0C496
Tritanopia (blue-blind)
#FF9BA3
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #ffa797; /* rgb */ color: rgb(255, 167, 151); /* oklch */ color: oklch(81.1% 0.107 30.8);
Tailwind
colors: {
custom: {
50: '#ffc2b5',
500: '#ffa797',
950: '#000000',
},
}SCSS
$custom: #ffa797; $custom-light: #ffc2b5; $custom-dark: #000000;
JSON
{
"hex": "#ffa797",
"rgb": {
"r": 255,
"g": 167,
"b": 151
},
"hsl": {
"h": 9.231,
"s": 100,
"l": 79.608
},
"oklch": {
"l": 0.81126,
"c": 0.10743,
"h": 30.8
},
"luminance": 0.51132
}Semantic roles & 50–950 ramp
primary
#FFA797
secondary
#59CDE2
accent
#C2E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181211
muted
#868281