#F271DB#F271DB
#F271DB is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.6% C 0.200 H 334.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F271DB |
|---|---|
| RGB | rgb(242, 113, 219) |
| HSL | hsl(311, 83%, 70%) |
| HSV | hsv(311, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 9.5%, 5.1%) |
| CIE-LAB | lab(66.37, 62.39, -31.41) |
| CIE-LCH | lch(66.37, 69.85, 333.27°) |
| OKLab | oklab(73.58% 0.1805 -0.0852) |
| OKLCH | oklch(73.58% 0.2 334.7) |
| XYZ | xyz(55.3094, 35.8059, 71.0022) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.06
Candy Pink
#FF63E9
ΔE00 3.11
Orchid
#DA70D6
ΔE00 4.13
Violet (CSS)
#EE82EE
ΔE00 4.29
Lavender Pink
#DD85D7
ΔE00 4.91
Light Magenta
#FA5FF7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271DB #71F288
analogous
#C971F2 #F271DB #F2719A
triadic
#F271DB #DBF271 #71DBF2
tetradic
#F271DB #F2C971 #71F288 #719AF2
square
#F271DB #F2C971 #71F288 #719AF2
split-complementary
#F271DB #9AF271 #71F2C9
monochromatic
#D514B3 #ED39CD #F271DB #F7A9E9 #FCE1F7
Accessibility & contrast
On white
2.57
#F271DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#F271DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271DB
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271DB | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#96A8D7
Tritanopia (blue-blind)
#FC789C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f271db; /* rgb */ color: rgb(242, 113, 219); /* oklch */ color: oklch(73.6% 0.200 334.7);
Tailwind
colors: {
custom: {
50: '#f99fe6',
500: '#f271db',
950: '#000000',
},
}SCSS
$custom: #f271db; $custom-light: #f99fe6; $custom-dark: #000000;
JSON
{
"hex": "#f271db",
"rgb": {
"r": 242,
"g": 113,
"b": 219
},
"hsl": {
"h": 310.698,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73578,
"c": 0.1996,
"h": 334.7
},
"luminance": 0.35802
}Semantic roles & 50–950 ramp
primary
#F271DB
secondary
#CDF2D4
accent
#E02D06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84