#F272DC#F272DC
#F272DC is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.7% C 0.199 H 334.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F272DC |
|---|---|
| RGB | rgb(242, 114, 220) |
| HSL | hsl(310, 83%, 70%) |
| HSV | hsv(310, 53%, 95%) |
| CMYK | cmyk(0%, 52.9%, 9.1%, 5.1%) |
| CIE-LAB | lab(66.58, 62.09, -31.64) |
| CIE-LCH | lch(66.58, 69.69, 332.99°) |
| OKLab | oklab(73.75% 0.1793 -0.0859) |
| OKLCH | oklch(73.75% 0.199 334.4) |
| XYZ | xyz(55.5537, 36.0831, 71.7350) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.88
Candy Pink
#FF63E9
ΔE00 3.13
Violet (CSS)
#EE82EE
ΔE00 4.07
Orchid
#DA70D6
ΔE00 4.15
Lavender Pink
#DD85D7
ΔE00 4.79
Light Magenta
#FA5FF7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F272DC #72F288
analogous
#C872F2 #F272DC #F2729C
triadic
#F272DC #DCF272 #72DCF2
tetradic
#F272DC #F2C872 #72F288 #729CF2
square
#F272DC #F2C872 #72F288 #729CF2
split-complementary
#F272DC #9CF272 #72F2C8
monochromatic
#D614B5 #ED3ACE #F272DC #F7AAEA #FCE2F8
Accessibility & contrast
On white
2.56
#F272DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#F272DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F272DC
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F272DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F272DC | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#FC799D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f272dc; /* rgb */ color: rgb(242, 114, 220); /* oklch */ color: oklch(73.7% 0.199 334.4);
Tailwind
colors: {
custom: {
50: '#f9a0e7',
500: '#f272dc',
950: '#000000',
},
}SCSS
$custom: #f272dc; $custom-light: #f9a0e7; $custom-dark: #000000;
JSON
{
"hex": "#f272dc",
"rgb": {
"r": 242,
"g": 114,
"b": 220
},
"hsl": {
"h": 310.313,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.73748,
"c": 0.19885,
"h": 334.4
},
"luminance": 0.36079
}Semantic roles & 50–950 ramp
primary
#F272DC
secondary
#CEF2D4
accent
#E02B06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84