#ef98ac
a light, vivid red · warm · closest name: Light Pink
At a glance
Every number on this page in one read: what #ef98ac is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ef98ac |
| RGB | rgb(239, 152, 172) |
| HSL | hsl(346, 73%, 77%) |
| CMYK | cmyk(0%, 36%, 28%, 6%) |
| LAB | lab(72.1 35.1 3.3) |
| LCH | lch(72.1 35.3 5.4) |
| OKLCH | oklch(0.773 0.107 4.9) |
| Decimal | 15702188 |
| Display P3 | color(display-p3 0.937 0.596 0.675) |
Copy-ready code
/* CSS */
color: #ef98ac;
background-color: #ef98ac;
/* Tailwind (arbitrary) */
class="text-[#ef98ac] bg-[#ef98ac]"
/* SCSS */
$brand: #ef98ac;
/* SwiftUI */
Color(red: 0.937, green: 0.596, blue: 0.675)
/* Android */
Color.parseColor("#ef98ac")
/* Flutter */
Color(0xFFEF98AC)
/* Python / OpenCV (BGR) */
(172, 152, 239)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ef98ac is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FCF3F5;
--brand-100: #F8E7EB;
--brand-200: #F3C9D2;
--brand-300: #ef98ac;
--brand-400: #E86D8A;
--brand-500: #E13D63;
--brand-600: #D4214A;
--brand-700: #B11B3E;
--brand-800: #8D1631;
--brand-900: #661427;
--brand-950: #400D18;
--brand: #ef98ac;
--brand-ink: #000000;
}Colors that work with #ef98ac
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ef98ac
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #98EFDB | Directly opposite — maximum tension | |
| Analogous left | #EF98D8 | Neighbour, quieter | |
| Analogous right | #EFB098 | Neighbour, quieter | |
| Split-complement 1 | #98EFB0 | Contrast without the clash | |
| Split-complement 2 | #98D8EF | Contrast without the clash | |
| Triadic 1 | #ACEF98 | Even thirds — balanced and loud | |
| Triadic 2 | #98ACEF | Even thirds — balanced and loud | |
| Tetradic | #D8EF98 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ef98ac text on a black background
contrast 9.76:1
#ef98ac text on a white background
contrast 2.15:1
CSS3 live lab
The quick brown fox
color: #ef98ac;
background-color: #ef98ac;
Glowing headline
text-shadow: 2px 2px 8px #ef98ac;
Soft neon halo
text-shadow: 0 0 14px rgba(239, 152, 172, 0.45);
box-shadow: 0 12px 32px -8px rgba(239, 152, 172, 0.45);
border: 3px solid #ef98ac; background: linear-gradient(135deg, #ef98ac, #EFBE98);
Monochromatic scale
Palettes built from #ef98ac
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Flamingo (#fc8eac) — ΔE2000 3.6 away, with its history, psychology and brand usage.
#ef98ac in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#ef98ac, answered
What color is #ef98ac?
#ef98ac is a light vivid red, closest to Light Pink (ΔE2000 7.2). It sits at 346° on the hue wheel with 73% saturation and 77% lightness, which reads as warm.
What is the RGB value of #ef98ac?
rgb(239, 152, 172) — 239 red, 152 green and 172 blue out of 255, or 93.7% / 59.6% / 67.5% by channel.
Is #ef98ac a light or a dark color?
It is a mid-tone. Relative luminance is 0.4379 and perceived brightness is 72%, so black text on it reaches 9.76:1.
Should I use black or white text on #ef98ac?
Black. It scores 9.76:1 against #ef98ac, versus 2.15:1 for white — AAA at any size.
What is the complementary color of #ef98ac?
#98EFDB sits directly opposite on the wheel. Softer options are the split-complements #98EFB0 and #98D8EF, which give the same contrast with far less vibration.
What colors go well with #ef98ac?
For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5D for secondary text, #18B469 as an accent and #6E1127 for hover and pressed states. For a palette, the analogous pair #EF98D8 and #EFB098 stays calm, while #98EFDB is the loudest partner.
What is #ef98ac in CMYK for printing?
cmyk(0%, 36%, 28%, 6%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #ef98ac warm or cool?
Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EFA498; nudged cooler, #F097CC.