#F272A2#F272A2
#F272A2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.6% C 0.164 H 358.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F272A2 |
|---|---|
| RGB | rgb(242, 114, 162) |
| HSL | hsl(338, 83%, 70%) |
| HSV | hsv(338, 53%, 95%) |
| CMYK | cmyk(0%, 52.9%, 33.1%, 5.1%) |
| CIE-LAB | lab(64.58, 54.01, -1.94) |
| CIE-LCH | lch(64.58, 54.04, 357.94°) |
| OKLab | oklab(71.6% 0.1642 -0.0044) |
| OKLCH | oklch(71.6% 0.164 358.5) |
| XYZ | xyz(49.1592, 33.5253, 38.0575) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.40
Bubble Gum Pink
#FF69AF
ΔE00 3.69
Carnation Pink
#FF7FA7
ΔE00 3.95
Palevioletred
#DB7093
ΔE00 4.45
Bubblegum (survey)
#FF6CB5
ΔE00 4.47
Hot Pink
#FF69B4
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F272A2 #72F2C2
analogous
#F272E2 #F272A2 #F28272
triadic
#F272A2 #A2F272 #72A2F2
tetradic
#F272A2 #E2F272 #72F2C2 #8272F2
square
#F272A2 #E2F272 #72F2C2 #8272F2
split-complementary
#F272A2 #72F282 #72E2F2
monochromatic
#D6145D #ED3A7D #F272A2 #F7AAC7 #FCE2EC
Accessibility & contrast
On white
2.73
#F272A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#F272A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F272A2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F272A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F272A2 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#A7A69F
Tritanopia (blue-blind)
#FF6984
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f272a2; /* rgb */ color: rgb(242, 114, 162); /* oklch */ color: oklch(71.6% 0.164 358.5);
Tailwind
colors: {
custom: {
50: '#fa9fbd',
500: '#f272a2',
950: '#000000',
},
}SCSS
$custom: #f272a2; $custom-light: #fa9fbd; $custom-dark: #000000;
JSON
{
"hex": "#f272a2",
"rgb": {
"r": 242,
"g": 114,
"b": 162
},
"hsl": {
"h": 337.5,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.71603,
"c": 0.16428,
"h": 358.5
},
"luminance": 0.33521
}Semantic roles & 50–950 ramp
primary
#F272A2
secondary
#CEF2E4
accent
#E08E06
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81