#F0538F#F0538F
#F0538F is a light, vivid pink. Relative luminance 0.267; OKLCH L 67.0% C 0.198 H 0.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F0538F |
|---|---|
| RGB | rgb(240, 83, 143) |
| HSL | hsl(337, 84%, 63%) |
| HSV | hsv(337, 65%, 94%) |
| CMYK | cmyk(0%, 65.4%, 40.4%, 5.9%) |
| CIE-LAB | lab(58.70, 64.79, 0.38) |
| CIE-LCH | lch(58.70, 64.80, 0.33°) |
| OKLab | oklab(66.98% 0.1982 0.0017) |
| OKLCH | oklch(66.98% 0.198 0.5) |
| XYZ | xyz(43.9894, 26.7002, 28.8184) |
| Luminance | 0.2670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 2.68
Strawberry
#FC5A8D
ΔE00 3.56
Blush
#DE5D83
ΔE00 3.98
Barbie Pink
#FE46A5
ΔE00 4.99
Warm Pink
#FB5581
ΔE00 5.11
Rosy Pink
#F6688E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0538F #53F0B4
analogous
#F053DD #F0538F #F06553
triadic
#F0538F #8FF053 #538FF0
tetradic
#F0538F #DDF053 #53F0B4 #6553F0
square
#F0538F #DDF053 #53F0B4 #6553F0
split-complementary
#F0538F #53F065 #53DDF0
monochromatic
#B91050 #EB1B6A #F0538F #F58BB4 #FAC4D8
Accessibility & contrast
On white
3.31
#F0538F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#F0538F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0538F
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0538F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0538F | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727A91
Deuteranopia (green-blind)
#9C988B
Tritanopia (blue-blind)
#FF416B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #f0538f; /* rgb */ color: rgb(240, 83, 143); /* oklch */ color: oklch(67.0% 0.198 0.5);
Tailwind
colors: {
custom: {
50: '#fa8caf',
500: '#f0538f',
950: '#000000',
},
}SCSS
$custom: #f0538f; $custom-light: #fa8caf; $custom-dark: #000000;
JSON
{
"hex": "#f0538f",
"rgb": {
"r": 240,
"g": 83,
"b": 143
},
"hsl": {
"h": 337.07,
"s": 83.957,
"l": 63.333
},
"oklch": {
"l": 0.66977,
"c": 0.19825,
"h": 0.5
},
"luminance": 0.26695
}Semantic roles & 50–950 ramp
primary
#F0538F
secondary
#B3EBD6
accent
#E08D05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F