#F0528F#F0528F
#F0528F is a light, vivid pink. Relative luminance 0.265; OKLCH L 66.9% C 0.199 H 0.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F0528F |
|---|---|
| RGB | rgb(240, 82, 143) |
| HSL | hsl(337, 84%, 63%) |
| HSV | hsv(337, 66%, 94%) |
| CMYK | cmyk(0%, 65.8%, 40.4%, 5.9%) |
| CIE-LAB | lab(58.55, 65.18, 0.17) |
| CIE-LCH | lch(58.55, 65.18, 0.15°) |
| OKLab | oklab(66.87% 0.1995 0.0012) |
| OKLCH | oklch(66.87% 0.199 0.3) |
| XYZ | xyz(43.9134, 26.5483, 28.7931) |
| Luminance | 0.2654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 2.84
Strawberry
#FC5A8D
ΔE00 3.72
Blush
#DE5D83
ΔE00 4.06
Barbie Pink
#FE46A5
ΔE00 4.90
Warm Pink
#FB5581
ΔE00 5.23
Strong Pink
#FF0789
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0528F #52F0B3
analogous
#F052DE #F0528F #F06452
triadic
#F0528F #8FF052 #528FF0
tetradic
#F0528F #DEF052 #52F0B3 #6452F0
square
#F0528F #DEF052 #52F0B3 #6452F0
split-complementary
#F0528F #52F064 #52DEF0
monochromatic
#B81051 #EB1A6B #F0528F #F58AB3 #FAC3D8
Accessibility & contrast
On white
3.33
#F0528F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#F0528F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0528F
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0528F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0528F | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717A91
Deuteranopia (green-blind)
#9B988B
Tritanopia (blue-blind)
#FF406B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #f0528f; /* rgb */ color: rgb(240, 82, 143); /* oklch */ color: oklch(66.9% 0.199 0.3);
Tailwind
colors: {
custom: {
50: '#fa8caf',
500: '#f0528f',
950: '#000000',
},
}SCSS
$custom: #f0528f; $custom-light: #fa8caf; $custom-dark: #000000;
JSON
{
"hex": "#f0528f",
"rgb": {
"r": 240,
"g": 82,
"b": 143
},
"hsl": {
"h": 336.835,
"s": 84.043,
"l": 63.137
},
"oklch": {
"l": 0.66872,
"c": 0.19947,
"h": 0.3
},
"luminance": 0.26543
}Semantic roles & 50–950 ramp
primary
#F0528F
secondary
#B3EBD5
accent
#E08C05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F