#F297D3#F297D3
#F297D3 is a light, vivid pink. Relative luminance 0.457; OKLCH L 78.7% C 0.131 H 340.7°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #F297D3 |
|---|---|
| RGB | rgb(242, 151, 211) |
| HSL | hsl(320, 78%, 77%) |
| HSV | hsv(320, 38%, 95%) |
| CMYK | cmyk(0%, 37.6%, 12.8%, 5.1%) |
| CIE-LAB | lab(73.36, 42.41, -16.30) |
| CIE-LCH | lch(73.36, 45.43, 338.97°) |
| OKLab | oklab(78.71% 0.124 -0.0433) |
| OKLCH | oklch(78.71% 0.131 340.7) |
| XYZ | xyz(59.4426, 45.7170, 67.3087) |
| Luminance | 0.4571 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum Pink
#FE83CC
ΔE00 4.61
Plum
#DDA0DD
ΔE00 5.62
Pink (survey)
#FF81C0
ΔE00 5.85
Lavender Pink
#DD85D7
ΔE00 6.94
Powder Pink
#FFB2D0
ΔE00 8.68
Violet (CSS)
#EE82EE
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F297D3 #97F2B6
analogous
#E497F2 #F297D3 #F297A5
triadic
#F297D3 #D3F297 #97D3F2
tetradic
#F297D3 #F2E497 #97F2B6 #97A5F2
square
#F297D3 #F2E497 #97F2B6 #97A5F2
split-complementary
#F297D3 #A5F297 #97F2E4
monochromatic
#E42AA5 #EB61BC #F297D3 #F9CDEA #FCE4F3
Accessibility & contrast
On white
2.07
#F297D3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.14
#F297D3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F297D3
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F297D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F297D3 | 1.00 | 2.07 | 10.14 | 10.14 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BABD5
Deuteranopia (green-blind)
#B2B9D0
Tritanopia (blue-blind)
#FC98AD
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #f297d3; /* rgb */ color: rgb(242, 151, 211); /* oklch */ color: oklch(78.7% 0.131 340.7);
Tailwind
colors: {
custom: {
50: '#f8b7e0',
500: '#f297d3',
950: '#000000',
},
}SCSS
$custom: #f297d3; $custom-light: #f8b7e0; $custom-dark: #000000;
JSON
{
"hex": "#f297d3",
"rgb": {
"r": 242,
"g": 151,
"b": 211
},
"hsl": {
"h": 320.44,
"s": 77.778,
"l": 77.059
},
"oklch": {
"l": 0.78714,
"c": 0.13139,
"h": 340.7
},
"luminance": 0.45714
}Semantic roles & 50–950 ramp
primary
#F297D3
secondary
#D8F3E1
accent
#DA520B
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083