#F162E8#F162E8
#F162E8 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.3% C 0.231 H 330.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F162E8 |
|---|---|
| RGB | rgb(241, 98, 232) |
| HSL | hsl(304, 84%, 66%) |
| HSV | hsv(304, 59%, 95%) |
| CMYK | cmyk(0%, 59.3%, 3.7%, 5.5%) |
| CIE-LAB | lab(64.38, 70.73, -41.77) |
| CIE-LCH | lch(64.38, 82.15, 329.44°) |
| OKLab | oklab(72.27% 0.2002 -0.1147) |
| OKLCH | oklch(72.27% 0.231 330.2) |
| XYZ | xyz(55.2084, 33.2661, 79.8415) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.20
Candy Pink
#FF63E9
ΔE00 2.44
Violet Pink
#FB5FFC
ΔE00 2.85
Purply Pink
#F075E6
ΔE00 3.33
Orchid
#DA70D6
ΔE00 4.22
Violet (CSS)
#EE82EE
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F162E8 #62F16B
analogous
#B362F1 #F162E8 #F162A1
triadic
#F162E8 #E8F162 #62E8F1
tetradic
#F162E8 #F1B362 #62F16B #62A1F1
square
#F162E8 #F1B362 #62F16B #62A1F1
split-complementary
#F162E8 #A1F162 #62F1B3
monochromatic
#C712BB #EC2AE0 #F162E8 #F69AF0 #FBD2F8
Accessibility & contrast
On white
2.74
#F162E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#F162E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F162E8
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F162E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F162E8 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5890EC
Deuteranopia (green-blind)
#88A3E4
Tritanopia (blue-blind)
#F9719C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f162e8; /* rgb */ color: rgb(241, 98, 232); /* oklch */ color: oklch(72.3% 0.231 330.2);
Tailwind
colors: {
custom: {
50: '#f997f0',
500: '#f162e8',
950: '#000000',
},
}SCSS
$custom: #f162e8; $custom-light: #f997f0; $custom-dark: #000000;
JSON
{
"hex": "#f162e8",
"rgb": {
"r": 241,
"g": 98,
"b": 232
},
"hsl": {
"h": 303.776,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.72268,
"c": 0.23077,
"h": 330.2
},
"luminance": 0.33262
}Semantic roles & 50–950 ramp
primary
#F162E8
secondary
#C0EFC3
accent
#E01305
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84