#F5817F#F5817F
#F5817F is a light, vivid red. Relative luminance 0.366; OKLCH L 73.2% C 0.142 H 22.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F5817F |
|---|---|
| RGB | rgb(245, 129, 127) |
| HSL | hsl(1, 86%, 73%) |
| HSV | hsv(1, 48%, 96%) |
| CMYK | cmyk(0%, 47.3%, 48.2%, 3.9%) |
| CIE-LAB | lab(67.01, 44.03, 21.40) |
| CIE-LCH | lch(67.01, 48.95, 25.92°) |
| OKLab | oklab(73.25% 0.1319 0.0538) |
| OKLCH | oklch(73.25% 0.142 22.2) |
| XYZ | xyz(49.3405, 36.6504, 24.5503) |
| Luminance | 0.3664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 1.15
Salmon Pink
#FE7B7C
ΔE00 1.90
Blush Pink
#FE828C
ΔE00 3.80
Salmon
#FA8072
ΔE00 4.03
Salmon (survey)
#FF796C
ΔE00 4.68
Coral Pink
#FF6163
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5817F #7FF3F5
analogous
#F57FB8 #F5817F #F5BC7F
triadic
#F5817F #7FF581 #817FF5
tetradic
#F5817F #B8F57F #7FF3F5 #BC7FF5
square
#F5817F #B8F57F #7FF3F5 #BC7FF5
split-complementary
#F5817F #7FF5BC #7FB8F5
monochromatic
#E81612 #F14946 #F5817F #F9B9B8 #FDE3E3
Accessibility & contrast
On white
2.52
#F5817F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#F5817F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5817F
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5817F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5817F | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B947E
Deuteranopia (green-blind)
#B7AC7D
Tritanopia (blue-blind)
#FF7181
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f5817f; /* rgb */ color: rgb(245, 129, 127); /* oklch */ color: oklch(73.2% 0.142 22.2);
Tailwind
colors: {
custom: {
50: '#fda8a4',
500: '#f5817f',
950: '#000000',
},
}SCSS
$custom: #f5817f; $custom-light: #fda8a4; $custom-dark: #000000;
JSON
{
"hex": "#f5817f",
"rgb": {
"r": 245,
"g": 129,
"b": 127
},
"hsl": {
"h": 1.017,
"s": 85.507,
"l": 72.941
},
"oklch": {
"l": 0.73248,
"c": 0.14245,
"h": 22.2
},
"luminance": 0.36645
}Semantic roles & 50–950 ramp
primary
#F5817F
secondary
#D6F4F5
accent
#DEE203
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F