#FF7FE2#FF7FE2
#FF7FE2 is a light, vivid pink. Relative luminance 0.419; OKLCH L 77.3% C 0.192 H 336.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #FF7FE2 |
|---|---|
| RGB | rgb(255, 127, 226) |
| HSL | hsl(314, 100%, 75%) |
| HSV | hsv(314, 50%, 100%) |
| CMYK | cmyk(0%, 50.2%, 11.4%, 0%) |
| CIE-LAB | lab(70.83, 60.68, -28.28) |
| CIE-LCH | lch(70.83, 66.95, 335.01°) |
| OKLab | oklab(77.32% 0.1767 -0.0763) |
| OKLCH | oklch(77.32% 0.192 336.6) |
| XYZ | xyz(62.5572, 41.9341, 76.7360) |
| Luminance | 0.4193 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 4.08
Violet (CSS)
#EE82EE
ΔE00 4.25
Bubblegum Pink
#FE83CC
ΔE00 4.65
Candy Pink
#FF63E9
ΔE00 5.23
Lavender Pink
#DD85D7
ΔE00 5.46
Pink (survey)
#FF81C0
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF7FE2 #7FFF9C
analogous
#DC7FFF #FF7FE2 #FF7FA2
triadic
#FF7FE2 #E2FF7F #7FE2FF
tetradic
#FF7FE2 #FFDC7F #7FFF9C #7FA2FF
square
#FF7FE2 #FFDC7F #7FFF9C #7FA2FF
split-complementary
#FF7FE2 #A2FF7F #7FFFDC
monochromatic
#FF05C6 #FF42D4 #FF7FE2 #FFBCF0 #FFE0F8
Accessibility & contrast
On white
2.24
#FF7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.39
#FF7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FF7FE2
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF7FE2 | 1.00 | 2.24 | 9.39 | 9.39 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#A5B4DE
Tritanopia (blue-blind)
#FF84A6
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #ff7fe2; /* rgb */ color: rgb(255, 127, 226); /* oklch */ color: oklch(77.3% 0.192 336.6);
Tailwind
colors: {
custom: {
50: '#ffa8eb',
500: '#ff7fe2',
950: '#000000',
},
}SCSS
$custom: #ff7fe2; $custom-light: #ffa8eb; $custom-dark: #000000;
JSON
{
"hex": "#ff7fe2",
"rgb": {
"r": 255,
"g": 127,
"b": 226
},
"hsl": {
"h": 313.594,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.77324,
"c": 0.19244,
"h": 336.6
},
"luminance": 0.4193
}Semantic roles & 50–950 ramp
primary
#FF7FE2
secondary
#D4F7DC
accent
#E63400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84