#FFAFA2#FFAFA2
#FFAFA2 is a very light, moderate red. Relative luminance 0.545; OKLCH L 82.7% C 0.096 H 29.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #FFAFA2 |
|---|---|
| RGB | rgb(255, 175, 162) |
| HSL | hsl(8, 100%, 82%) |
| HSV | hsv(8, 36%, 100%) |
| CMYK | cmyk(0%, 31.4%, 36.5%, 0%) |
| CIE-LAB | lab(78.77, 27.67, 18.53) |
| CIE-LCH | lch(78.77, 33.30, 33.81°) |
| OKLab | oklab(82.75% 0.0839 0.0475) |
| OKLCH | oklch(82.75% 0.096 29.5) |
| XYZ | xyz(63.0939, 54.5329, 41.3782) |
| Luminance | 0.5453 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Salmon
#FEA993
ΔE00 3.45
Pale Salmon
#FFB19A
ΔE00 3.63
Blush (survey)
#F29E8E
ΔE00 4.38
Peachy Pink
#FF9A8A
ΔE00 5.28
Pale Rose
#FDC1C5
ΔE00 8.26
Darksalmon
#E9967A
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFAFA2 #A2F2FF
analogous
#FFA2C4 #FFAFA2 #FFDEA2
triadic
#FFAFA2 #A2FFAF #AFA2FF
tetradic
#FFAFA2 #C4FFA2 #A2F2FF #DEA2FF
square
#FFAFA2 #C4FFA2 #A2F2FF #DEA2FF
split-complementary
#FFAFA2 #A2FFDE #A2C4FF
monochromatic
#FF4628 #FF7A65 #FFAFA2 #FFE4DF #FFE5E0
Accessibility & contrast
On white
1.76
#FFAFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#FFAFA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFAFA2
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFAFA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFAFA2 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B9A1
Deuteranopia (green-blind)
#D3C9A1
Tritanopia (blue-blind)
#FFA5AC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #ffafa2; /* rgb */ color: rgb(255, 175, 162); /* oklch */ color: oklch(82.7% 0.096 29.5);
Tailwind
colors: {
custom: {
50: '#ffc7bd',
500: '#ffafa2',
950: '#000000',
},
}SCSS
$custom: #ffafa2; $custom-light: #ffc7bd; $custom-dark: #000000;
JSON
{
"hex": "#ffafa2",
"rgb": {
"r": 255,
"g": 175,
"b": 162
},
"hsl": {
"h": 8.387,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.82748,
"c": 0.09641,
"h": 29.5
},
"luminance": 0.54529
}Semantic roles & 50–950 ramp
primary
#FFAFA2
secondary
#62D1E3
accent
#C5E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181312
muted
#868282