#F271D2#F271D2
#F271D2 is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.2% C 0.193 H 337.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F271D2 |
|---|---|
| RGB | rgb(242, 113, 210) |
| HSL | hsl(315, 83%, 70%) |
| HSV | hsv(315, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 13.2%, 5.1%) |
| CIE-LAB | lab(66.02, 61.00, -26.93) |
| CIE-LCH | lch(66.02, 66.68, 336.18°) |
| OKLab | oklab(73.2% 0.1787 -0.0726) |
| OKLCH | oklch(73.2% 0.193 337.9) |
| XYZ | xyz(54.1565, 35.3447, 64.9301) |
| Luminance | 0.3534 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.67
Candy Pink
#FF63E9
ΔE00 4.35
Orchid
#DA70D6
ΔE00 4.85
Lavender Pink
#DD85D7
ΔE00 5.14
Bubblegum Pink
#FE83CC
ΔE00 5.53
Violet (CSS)
#EE82EE
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271D2 #71F291
analogous
#D271F2 #F271D2 #F27191
triadic
#F271D2 #D2F271 #71D2F2
tetradic
#F271D2 #F2D271 #71F291 #7191F2
square
#F271D2 #F2D271 #71F291 #7191F2
split-complementary
#F271D2 #91F271 #71F2D2
monochromatic
#D514A5 #ED39C0 #F271D2 #F7A9E4 #FCE1F6
Accessibility & contrast
On white
2.60
#F271D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#F271D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271D2
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271D2 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#FE7598
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f271d2; /* rgb */ color: rgb(242, 113, 210); /* oklch */ color: oklch(73.2% 0.193 337.9);
Tailwind
colors: {
custom: {
50: '#f99fe0',
500: '#f271d2',
950: '#000000',
},
}SCSS
$custom: #f271d2; $custom-light: #f99fe0; $custom-dark: #000000;
JSON
{
"hex": "#f271d2",
"rgb": {
"r": 242,
"g": 113,
"b": 210
},
"hsl": {
"h": 314.884,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73199,
"c": 0.1929,
"h": 337.9
},
"luminance": 0.35341
}Semantic roles & 50–950 ramp
primary
#F271D2
secondary
#CDF2D6
accent
#E03C06
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83