#F271D4#F271D4
#F271D4 is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.3% C 0.194 H 337.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F271D4 |
|---|---|
| RGB | rgb(242, 113, 212) |
| HSL | hsl(314, 83%, 70%) |
| HSV | hsv(314, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 12.4%, 5.1%) |
| CIE-LAB | lab(66.09, 61.30, -27.93) |
| CIE-LCH | lch(66.09, 67.37, 335.50°) |
| OKLab | oklab(73.28% 0.1791 -0.0754) |
| OKLCH | oklch(73.28% 0.194 337.2) |
| XYZ | xyz(54.4072, 35.4450, 66.2506) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.30
Candy Pink
#FF63E9
ΔE00 4.04
Orchid
#DA70D6
ΔE00 4.64
Lavender Pink
#DD85D7
ΔE00 5.04
Violet (CSS)
#EE82EE
ΔE00 5.25
Bubblegum Pink
#FE83CC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271D4 #71F28F
analogous
#CF71F2 #F271D4 #F27194
triadic
#F271D4 #D4F271 #71D4F2
tetradic
#F271D4 #F2CF71 #71F28F #7194F2
square
#F271D4 #F2CF71 #71F28F #7194F2
split-complementary
#F271D4 #94F271 #71F2CF
monochromatic
#D514A8 #ED39C3 #F271D4 #F7A9E5 #FCE1F6
Accessibility & contrast
On white
2.60
#F271D4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#F271D4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271D4
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271D4 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#99A8D1
Tritanopia (blue-blind)
#FD7699
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f271d4; /* rgb */ color: rgb(242, 113, 212); /* oklch */ color: oklch(73.3% 0.194 337.2);
Tailwind
colors: {
custom: {
50: '#f99fe1',
500: '#f271d4',
950: '#000000',
},
}SCSS
$custom: #f271d4; $custom-light: #f99fe1; $custom-dark: #000000;
JSON
{
"hex": "#f271d4",
"rgb": {
"r": 242,
"g": 113,
"b": 212
},
"hsl": {
"h": 313.953,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73282,
"c": 0.19436,
"h": 337.2
},
"luminance": 0.35441
}Semantic roles & 50–950 ramp
primary
#F271D4
secondary
#CDF2D6
accent
#E03806
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83