#F04878#F04878
#F04878 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.205 H 7.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F04878 |
|---|---|
| RGB | rgb(240, 72, 120) |
| HSL | hsl(343, 85%, 61%) |
| HSV | hsv(343, 70%, 94%) |
| CMYK | cmyk(0%, 70%, 50%, 5.9%) |
| CIE-LAB | lab(56.61, 66.81, 10.92) |
| CIE-LCH | lch(56.61, 67.69, 9.28°) |
| OKLab | oklab(65.23% 0.2034 0.0282) |
| OKLCH | oklch(65.23% 0.205 7.9) |
| XYZ | xyz(41.6463, 24.5216, 20.3058) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Pink
#FB5581
ΔE00 3.44
Blush
#DE5D83
ΔE00 4.27
Strawberry
#FC5A8D
ΔE00 4.97
Rose
#FF007F
ΔE00 5.36
Darkish Pink
#DA467D
ΔE00 5.60
Rosy Pink
#F6688E
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F04878 #48F0C0
analogous
#F048CC #F04878 #F06C48
triadic
#F04878 #78F048 #4878F0
tetradic
#F04878 #CCF048 #48F0C0 #6C48F0
square
#F04878 #CCF048 #48F0C0 #6C48F0
split-complementary
#F04878 #48F06C #48CCF0
monochromatic
#AF0E3C #E81350 #F04878 #F581A2 #F9B9CB
Accessibility & contrast
On white
3.56
#F04878 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#F04878 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F04878
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F04878 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F04878 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#9C9474
Tritanopia (blue-blind)
#FF265C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #f04878; /* rgb */ color: rgb(240, 72, 120); /* oklch */ color: oklch(65.2% 0.205 7.9);
Tailwind
colors: {
custom: {
50: '#fb869e',
500: '#f04878',
950: '#000000',
},
}SCSS
$custom: #f04878; $custom-light: #fb869e; $custom-dark: #000000;
JSON
{
"hex": "#f04878",
"rgb": {
"r": 240,
"g": 72,
"b": 120
},
"hsl": {
"h": 342.857,
"s": 84.848,
"l": 61.176
},
"oklch": {
"l": 0.65233,
"c": 0.20532,
"h": 7.9
},
"luminance": 0.24516
}Semantic roles & 50–950 ramp
primary
#F04878
secondary
#AAE9D7
accent
#E1A204
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E