#F0817C#F0817C
#F0817C is a light, vivid red. Relative luminance 0.357; OKLCH L 72.5% C 0.137 H 23.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #F0817C |
|---|---|
| RGB | rgb(240, 129, 124) |
| HSL | hsl(3, 79%, 71%) |
| HSV | hsv(3, 48%, 94%) |
| CMYK | cmyk(0%, 46.3%, 48.3%, 5.9%) |
| CIE-LAB | lab(66.28, 41.93, 21.97) |
| CIE-LCH | lch(66.28, 47.34, 27.65°) |
| OKLab | oklab(72.53% 0.1255 0.0551) |
| OKLCH | oklch(72.53% 0.137 23.7) |
| XYZ | xyz(47.4267, 35.6858, 23.4552) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 1.59
Salmon Pink
#FE7B7C
ΔE00 2.80
Salmon
#FA8072
ΔE00 3.50
Salmon (survey)
#FF796C
ΔE00 4.35
Blush Pink
#FE828C
ΔE00 4.91
Coral Pink
#FF6163
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0817C #7CEBF0
analogous
#F07CB1 #F0817C #F0BB7C
triadic
#F0817C #7CF081 #817CF0
tetradic
#F0817C #B1F07C #7CEBF0 #BB7CF0
square
#F0817C #B1F07C #7CEBF0 #BB7CF0
split-complementary
#F0817C #7CF0BB #7CB1F0
monochromatic
#D92119 #EA4C45 #F0817C #F6B6B3 #FCE5E4
Accessibility & contrast
On white
2.58
#F0817C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#F0817C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0817C
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0817C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0817C | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A937B
Deuteranopia (green-blind)
#B5AA7A
Tritanopia (blue-blind)
#FF7180
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f0817c; /* rgb */ color: rgb(240, 129, 124); /* oklch */ color: oklch(72.5% 0.137 23.7);
Tailwind
colors: {
custom: {
50: '#f9a7a2',
500: '#f0817c',
950: '#000000',
},
}SCSS
$custom: #f0817c; $custom-light: #f9a7a2; $custom-dark: #000000;
JSON
{
"hex": "#f0817c",
"rgb": {
"r": 240,
"g": 129,
"b": 124
},
"hsl": {
"h": 2.586,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.72531,
"c": 0.13702,
"h": 23.7
},
"luminance": 0.35681
}Semantic roles & 50–950 ramp
primary
#F0817C
secondary
#D5F2F3
accent
#D3DC0A
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E