Skip to content

#ec98ac

a light, vivid red · warm · closest name: Light Pink

RGB
236, 152, 172
HSL
346°, 69%, 76%
CMYK
0, 36, 27, 8
Luminance
0.4327

At a glance

Every number on this page in one read: what #ec98ac is made of, how bright it looks, and which way it leans.

Hex
#ec98ac
Hue
346°
red
Saturation
69%
vivid
Lightness
76%
light
Brightness
93%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4327
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Vivid
Best ink
Black
9.65:1
Closest name
Light Pink
ΔE2000 7.4
Where it sits
Hue346° of 360°
Saturation69%
Lightness76%
Temperature
Warm ← → Cool25% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ec98ac
RGBrgb(236, 152, 172)
HSLhsl(346, 69%, 76%)
CMYKcmyk(0%, 36%, 27%, 8%)
LABlab(71.7 34.0 2.8)
LCHlch(71.7 34.2 4.7)
OKLCHoklch(0.769 0.103 4.3)
Decimal15505580
Display P3color(display-p3 0.925 0.596 0.675)

Copy-ready code

/* CSS */
color: #ec98ac;
background-color: #ec98ac;
/* Tailwind (arbitrary) */
class="text-[#ec98ac] bg-[#ec98ac]"
/* SCSS */
$brand: #ec98ac;
/* SwiftUI */
Color(red: 0.925, green: 0.596, blue: 0.675)
/* Android */
Color.parseColor("#ec98ac")
/* Flutter */
Color(0xFFEC98AC)
/* Python / OpenCV (BGR) */
(172, 152, 236)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ec98ac · 9.65:1
Use #000000AAA at every size.
Aa
White text · 2.18:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ec98ac as text scores 2.18:1 on white and 9.65:1 on black.

Accessibility — WCAG contrast

Aa
#ec98ac on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#ec98ac on black: 9.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4A6AD
deuteranopia · #B9B6AA
tritanopia · #FA929F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec98ac 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.

#FBF3F5
#F8E7EB
#F2CAD3
#ec98ac
#E5718D
#DC4166
#CF264E
#AC2041
#8A1934
#641629
#3E0E1A
Base = 300Lightest = 50 · #FBF3F5Darkest = 950 · #3E0E1A
:root {
  --brand-50: #FBF3F5;
  --brand-100: #F8E7EB;
  --brand-200: #F2CAD3;
  --brand-300: #ec98ac;
  --brand-400: #E5718D;
  --brand-500: #DC4166;
  --brand-600: #CF264E;
  --brand-700: #AC2041;
  --brand-800: #8A1934;
  --brand-900: #641629;
  --brand-950: #3E0E1A;
  --brand: #ec98ac;
  --brand-ink: #000000;
}

Colors that work with #ec98ac

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F6
Tinted page background
Border#EDC0CA
Hairlines and dividers
Muted text#9B4B5E
Captions on the surface
Accent#1CB068
Second voice, not a rival
Dark variant#6C1429
Hover, pressed, headers
Light variant#FBE9EE
Selected rows, tints
Dark surface#241418
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ec98ac

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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#98ECD8
Analogous left#EC98D6
Analogous right#ECAE98
Split-complement 1#98ECAE
Split-complement 2#98D6EC
Triadic 1#ACEC98
Triadic 2#98ACEC
Tetradic#D6EC98

RGB percentages

Red92.5%
Green59.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta35.6%
Yellow27.1%
Key (black)7.5%

Color previews

#ec98ac text on a black background

contrast 9.65:1

Card sample

#ec98ac text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ec98ac;
Background color
Panel with #ec98ac background
background-color: #ec98ac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ec98ac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 152, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 152, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec98ac;
background: linear-gradient(135deg, #ec98ac, #ECBC98);

Monochromatic scale

Palettes built from #ec98ac

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.

#ec98ac in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ec98ac, answered

What color is #ec98ac?

#ec98ac is a light vivid red, closest to Light Pink (ΔE2000 7.4). It sits at 346° on the hue wheel with 69% saturation and 76% lightness, which reads as warm.

What is the RGB value of #ec98ac?

rgb(236, 152, 172) — 236 red, 152 green and 172 blue out of 255, or 92.5% / 59.6% / 67.5% by channel.

Is #ec98ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.4327 and perceived brightness is 72%, so black text on it reaches 9.65:1.

Should I use black or white text on #ec98ac?

Black. It scores 9.65:1 against #ec98ac, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #ec98ac?

#98ECD8 sits directly opposite on the wheel. Softer options are the split-complements #98ECAE and #98D6EC, which give the same contrast with far less vibration.

What colors go well with #ec98ac?

For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5E for secondary text, #1CB068 as an accent and #6C1429 for hover and pressed states. For a palette, the analogous pair #EC98D6 and #ECAE98 stays calm, while #98ECD8 is the loudest partner.

What is #ec98ac in CMYK for printing?

cmyk(0%, 36%, 27%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ec98ac warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ECA398; nudged cooler, #ED97CB.

Work with #ec98ac in the Color Lab