#F0508E#F0508E
#F0508E is a light, highly saturated pink. Relative luminance 0.262; OKLCH L 66.6% C 0.202 H 0.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F0508E |
|---|---|
| RGB | rgb(240, 80, 142) |
| HSL | hsl(337, 84%, 63%) |
| HSV | hsv(337, 67%, 94%) |
| CMYK | cmyk(0%, 66.7%, 40.8%, 5.9%) |
| CIE-LAB | lab(58.25, 65.85, 0.31) |
| CIE-LCH | lch(58.25, 65.85, 0.27°) |
| OKLab | oklab(66.64% 0.2016 0.0016) |
| OKLCH | oklch(66.64% 0.202 0.4) |
| XYZ | xyz(43.6894, 26.2209, 28.3464) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.16
Strawberry
#FC5A8D
ΔE00 3.89
Blush
#DE5D83
ΔE00 4.08
Barbie Pink
#FE46A5
ΔE00 4.95
Strong Pink
#FF0789
ΔE00 5.11
Deeppink
#FF1493
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0508E #50F0B2
analogous
#F050DE #F0508E #F06250
triadic
#F0508E #8EF050 #508EF0
tetradic
#F0508E #DEF050 #50F0B2 #6250F0
square
#F0508E #DEF050 #50F0B2 #6250F0
split-complementary
#F0508E #50F062 #50DEF0
monochromatic
#B61050 #EB186A #F0508E #F588B2 #FAC1D7
Accessibility & contrast
On white
3.36
#F0508E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#F0508E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0508E
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0508E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0508E | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#707990
Deuteranopia (green-blind)
#9B978A
Tritanopia (blue-blind)
#FF3D69
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #f0508e; /* rgb */ color: rgb(240, 80, 142); /* oklch */ color: oklch(66.6% 0.202 0.4);
Tailwind
colors: {
custom: {
50: '#fa8bae',
500: '#f0508e',
950: '#000000',
},
}SCSS
$custom: #f0508e; $custom-light: #fa8bae; $custom-dark: #000000;
JSON
{
"hex": "#f0508e",
"rgb": {
"r": 240,
"g": 80,
"b": 142
},
"hsl": {
"h": 336.75,
"s": 84.211,
"l": 62.745
},
"oklch": {
"l": 0.66635,
"c": 0.20159,
"h": 0.4
},
"luminance": 0.26216
}Semantic roles & 50–950 ramp
primary
#F0508E
secondary
#B1EBD4
accent
#E18B05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F