#FFAFA7#FFAFA7
#FFAFA7 is a very light, moderate red. Relative luminance 0.547; OKLCH L 82.9% C 0.095 H 25.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #FFAFA7 |
|---|---|
| RGB | rgb(255, 175, 167) |
| HSL | hsl(5, 100%, 83%) |
| HSV | hsv(5, 35%, 100%) |
| CMYK | cmyk(0%, 31.4%, 34.5%, 0%) |
| CIE-LAB | lab(78.88, 28.26, 15.98) |
| CIE-LCH | lch(78.88, 32.46, 29.49°) |
| OKLab | oklab(82.86% 0.0859 0.0412) |
| OKLCH | oklch(82.86% 0.095 25.6) |
| XYZ | xyz(63.5472, 54.7142, 43.7656) |
| Luminance | 0.5471 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Salmon
#FEA993
ΔE00 5.18
Blush (survey)
#F29E8E
ΔE00 5.23
Pale Salmon
#FFB19A
ΔE00 5.43
Peachy Pink
#FF9A8A
ΔE00 5.97
Pale Rose
#FDC1C5
ΔE00 6.95
Lightpink
#FFB6C1
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFAFA7 #A7F7FF
analogous
#FFA7CB #FFAFA7 #FFDBA7
triadic
#FFAFA7 #A7FFAF #AFA7FF
tetradic
#FFAFA7 #CBFFA7 #A7F7FF #DBA7FF
square
#FFAFA7 #CBFFA7 #A7F7FF #DBA7FF
split-complementary
#FFAFA7 #A7FFDB #A7CBFF
monochromatic
#FF402D #FF776A #FFAFA7 #FFE3E0 #FFE3E0
Accessibility & contrast
On white
1.76
#FFAFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#FFAFA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFAFA7
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFAFA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFAFA7 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0BAA6
Deuteranopia (green-blind)
#D3C9A6
Tritanopia (blue-blind)
#FFA5AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #ffafa7; /* rgb */ color: rgb(255, 175, 167); /* oklch */ color: oklch(82.9% 0.095 25.6);
Tailwind
colors: {
custom: {
50: '#ffc7c1',
500: '#ffafa7',
950: '#000000',
},
}SCSS
$custom: #ffafa7; $custom-light: #ffc7c1; $custom-dark: #000000;
JSON
{
"hex": "#ffafa7",
"rgb": {
"r": 255,
"g": 175,
"b": 167
},
"hsl": {
"h": 5.455,
"s": 100,
"l": 82.745
},
"oklch": {
"l": 0.82863,
"c": 0.09522,
"h": 25.6
},
"luminance": 0.5471
}Semantic roles & 50–950 ramp
primary
#FFAFA7
secondary
#66D9E4
accent
#D1E600
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#181312
muted
#868282