#F251B8#F251B8
#F251B8 is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.5% C 0.221 H 345.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F251B8 |
|---|---|
| RGB | rgb(242, 81, 184) |
| HSL | hsl(322, 86%, 63%) |
| HSV | hsv(322, 67%, 95%) |
| CMYK | cmyk(0%, 66.5%, 24%, 5.1%) |
| CIE-LAB | lab(60.09, 70.77, -21.28) |
| CIE-LCH | lch(60.09, 73.90, 343.27°) |
| OKLab | oklab(68.51% 0.2136 -0.0565) |
| OKLCH | oklch(68.51% 0.221 345.2) |
| XYZ | xyz(48.2139, 28.2277, 48.2474) |
| Luminance | 0.2822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Barbie Pink
#FE46A5
ΔE00 4.54
Pale Magenta
#D767AD
ΔE00 5.00
Bright Pink
#FE01B1
ΔE00 5.15
Purpleish Pink
#DF4EC8
ΔE00 5.69
Purplish Pink
#CE5DAE
ΔE00 5.85
Shocking Pink
#FE02A2
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F251B8 #51F28B
analogous
#DB51F2 #F251B8 #F25167
triadic
#F251B8 #B8F251 #51B8F2
tetradic
#F251B8 #F2DB51 #51F28B #5167F2
square
#F251B8 #F2DB51 #51F28B #5167F2
split-complementary
#F251B8 #67F251 #51F2DB
monochromatic
#BB0E7C #EE18A1 #F251B8 #F68ACF #FBC3E6
Accessibility & contrast
On white
3.16
#F251B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#F251B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F251B8
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F251B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F251B8 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637FBB
Deuteranopia (green-blind)
#929BB4
Tritanopia (blue-blind)
#FF4F7D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #f251b8; /* rgb */ color: rgb(242, 81, 184); /* oklch */ color: oklch(68.5% 0.221 345.2);
Tailwind
colors: {
custom: {
50: '#fa8dcd',
500: '#f251b8',
950: '#000000',
},
}SCSS
$custom: #f251b8; $custom-light: #fa8dcd; $custom-dark: #000000;
JSON
{
"hex": "#f251b8",
"rgb": {
"r": 242,
"g": 81,
"b": 184
},
"hsl": {
"h": 321.615,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.68512,
"c": 0.22097,
"h": 345.2
},
"luminance": 0.28223
}Semantic roles & 50–950 ramp
primary
#F251B8
secondary
#B3ECC7
accent
#E35303
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82