#F28CB2#F28CB2
#F28CB2 is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.9% C 0.131 H 356.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F28CB2 |
|---|---|
| RGB | rgb(242, 140, 178) |
| HSL | hsl(338, 80%, 75%) |
| HSV | hsv(338, 42%, 95%) |
| CMYK | cmyk(0%, 42.1%, 26.4%, 5.1%) |
| CIE-LAB | lab(70.07, 43.20, -2.91) |
| CIE-LCH | lch(70.07, 43.30, 356.14°) |
| OKLab | oklab(75.89% 0.1304 -0.0071) |
| OKLCH | oklch(75.89% 0.131 356.9) |
| XYZ | xyz(54.0335, 40.8519, 47.1502) |
| Luminance | 0.4085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky
#FC86AA
ΔE00 2.92
Pig Pink
#E78EA5
ΔE00 3.88
Carnation Pink
#FF7FA7
ΔE00 3.96
Rosa
#FE86A4
ΔE00 4.50
Pink (survey)
#FF81C0
ΔE00 4.89
Dull Pink
#D5869D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F28CB2 #8CF2CC
analogous
#F28CE5 #F28CB2 #F2998C
triadic
#F28CB2 #B2F28C #8CB2F2
tetradic
#F28CB2 #E5F28C #8CF2CC #998CF2
square
#F28CB2 #E5F28C #8CF2CC #998CF2
split-complementary
#F28CB2 #8CF299 #8CE5F2
monochromatic
#E61E68 #EC558D #F28CB2 #F8C3D7 #FCE4ED
Accessibility & contrast
On white
2.29
#F28CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#F28CB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F28CB2
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F28CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F28CB2 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#B3B2B0
Tritanopia (blue-blind)
#FF8699
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #f28cb2; /* rgb */ color: rgb(242, 140, 178); /* oklch */ color: oklch(75.9% 0.131 356.9);
Tailwind
colors: {
custom: {
50: '#f8afc9',
500: '#f28cb2',
950: '#000000',
},
}SCSS
$custom: #f28cb2; $custom-light: #f8afc9; $custom-dark: #000000;
JSON
{
"hex": "#f28cb2",
"rgb": {
"r": 242,
"g": 140,
"b": 178
},
"hsl": {
"h": 337.647,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.7589,
"c": 0.13058,
"h": 356.9
},
"luminance": 0.40848
}Semantic roles & 50–950 ramp
primary
#F28CB2
secondary
#D7F4E9
accent
#DC8E0A
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#181113
muted
#868082