#F0508C#F0508C
#F0508C is a light, highly saturated pink. Relative luminance 0.262; OKLCH L 66.6% C 0.201 H 1.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F0508C |
|---|---|
| RGB | rgb(240, 80, 140) |
| HSL | hsl(338, 84%, 63%) |
| HSV | hsv(338, 67%, 94%) |
| CMYK | cmyk(0%, 66.7%, 41.7%, 5.9%) |
| CIE-LAB | lab(58.19, 65.65, 1.40) |
| CIE-LCH | lch(58.19, 65.67, 1.22°) |
| OKLab | oklab(66.57% 0.2009 0.0044) |
| OKLCH | oklch(66.57% 0.201 1.2) |
| XYZ | xyz(43.5405, 26.1613, 27.5626) |
| Luminance | 0.2616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.21
Strawberry
#FC5A8D
ΔE00 3.63
Blush
#DE5D83
ΔE00 3.79
Warm Pink
#FB5581
ΔE00 4.85
Strong Pink
#FF0789
ΔE00 5.18
Darkish Pink
#DA467D
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0508C #50F0B4
analogous
#F050DC #F0508C #F06450
triadic
#F0508C #8CF050 #508CF0
tetradic
#F0508C #DCF050 #50F0B4 #6450F0
square
#F0508C #DCF050 #50F0B4 #6450F0
split-complementary
#F0508C #50F064 #50DCF0
monochromatic
#B6104E #EB1867 #F0508C #F588B1 #FAC1D6
Accessibility & contrast
On white
3.37
#F0508C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#F0508C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0508C
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0508C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0508C | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#9B9788
Tritanopia (blue-blind)
#FF3C68
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #f0508c; /* rgb */ color: rgb(240, 80, 140); /* oklch */ color: oklch(66.6% 0.201 1.2);
Tailwind
colors: {
custom: {
50: '#fa8bad',
500: '#f0508c',
950: '#000000',
},
}SCSS
$custom: #f0508c; $custom-light: #fa8bad; $custom-dark: #000000;
JSON
{
"hex": "#f0508c",
"rgb": {
"r": 240,
"g": 80,
"b": 140
},
"hsl": {
"h": 337.5,
"s": 84.211,
"l": 62.745
},
"oklch": {
"l": 0.66575,
"c": 0.20097,
"h": 1.2
},
"luminance": 0.26156
}Semantic roles & 50–950 ramp
primary
#F0508C
secondary
#B1EBD5
accent
#E18E05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F