#F072F2#F072F2
#F072F2 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.216 H 326.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F072F2 |
|---|---|
| RGB | rgb(240, 114, 242) |
| HSL | hsl(299, 83%, 70%) |
| HSV | hsv(299, 53%, 95%) |
| CMYK | cmyk(0.8%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(67.26, 65.18, -42.80) |
| CIE-LCH | lch(67.26, 77.97, 326.71°) |
| OKLab | oklab(74.5% 0.1805 -0.1178) |
| OKLCH | oklch(74.5% 0.216 326.9) |
| XYZ | xyz(57.9785, 36.9740, 88.0700) |
| Luminance | 0.3697 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.19
Light Magenta
#FA5FF7
ΔE00 2.86
Violet Pink
#FB5FFC
ΔE00 3.04
Violet (CSS)
#EE82EE
ΔE00 3.15
Candy Pink
#FF63E9
ΔE00 3.40
Orchid
#DA70D6
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F072F2 #74F272
analogous
#B072F2 #F072F2 #F272B4
triadic
#F072F2 #F2F072 #72F2F0
tetradic
#F072F2 #F2B072 #74F272 #72B4F2
square
#F072F2 #F2B072 #74F272 #72B4F2
split-complementary
#F072F2 #B4F272 #72F2B0
monochromatic
#D314D6 #EA3AED #F072F2 #F6AAF7 #FCE2FC
Accessibility & contrast
On white
2.50
#F072F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#F072F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F072F2
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F072F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F072F2 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#8CA9EE
Tritanopia (blue-blind)
#F681A8
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f072f2; /* rgb */ color: rgb(240, 114, 242); /* oklch */ color: oklch(74.5% 0.216 326.9);
Tailwind
colors: {
custom: {
50: '#f8a0f7',
500: '#f072f2',
950: '#000000',
},
}SCSS
$custom: #f072f2; $custom-light: #f8a0f7; $custom-dark: #000000;
JSON
{
"hex": "#f072f2",
"rgb": {
"r": 240,
"g": 114,
"b": 242
},
"hsl": {
"h": 299.063,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.74498,
"c": 0.21558,
"h": 326.9
},
"luminance": 0.36971
}Semantic roles & 50–950 ramp
primary
#F072F2
secondary
#CEF2CE
accent
#E00609
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85