#F274DC#F274DC
#F274DC is a light, vivid pink. Relative luminance 0.365; OKLCH L 74.0% C 0.196 H 334.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F274DC |
|---|---|
| RGB | rgb(242, 116, 220) |
| HSL | hsl(310, 83%, 70%) |
| HSV | hsv(310, 52%, 95%) |
| CMYK | cmyk(0%, 52.1%, 9.1%, 5.1%) |
| CIE-LAB | lab(66.93, 61.16, -31.11) |
| CIE-LCH | lch(66.93, 68.62, 333.04°) |
| OKLab | oklab(74% 0.1767 -0.0844) |
| OKLCH | oklch(74% 0.196 334.5) |
| XYZ | xyz(55.7817, 36.5392, 71.8110) |
| Luminance | 0.3654 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.92
Candy Pink
#FF63E9
ΔE00 3.40
Violet (CSS)
#EE82EE
ΔE00 3.89
Orchid
#DA70D6
ΔE00 4.32
Lavender Pink
#DD85D7
ΔE00 4.55
Light Magenta
#FA5FF7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F274DC #74F28A
analogous
#C974F2 #F274DC #F2749D
triadic
#F274DC #DCF274 #74DCF2
tetradic
#F274DC #F2C974 #74F28A #749DF2
square
#F274DC #F2C974 #74F28A #749DF2
split-complementary
#F274DC #9DF274 #74F2C9
monochromatic
#D714B5 #ED3CCE #F274DC #F7ACEA #FCE3F8
Accessibility & contrast
On white
2.53
#F274DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#F274DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F274DC
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F274DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F274DC | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#FC7B9E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f274dc; /* rgb */ color: rgb(242, 116, 220); /* oklch */ color: oklch(74.0% 0.196 334.5);
Tailwind
colors: {
custom: {
50: '#f9a1e7',
500: '#f274dc',
950: '#000000',
},
}SCSS
$custom: #f274dc; $custom-light: #f9a1e7; $custom-dark: #000000;
JSON
{
"hex": "#f274dc",
"rgb": {
"r": 242,
"g": 116,
"b": 220
},
"hsl": {
"h": 310.476,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.74004,
"c": 0.19578,
"h": 334.5
},
"luminance": 0.36535
}Semantic roles & 50–950 ramp
primary
#F274DC
secondary
#CFF2D6
accent
#DF2C06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84