Skip to content

#f398af

a light, electric magenta / pink · warm · closest name: Light Pink

RGB
243, 152, 175
HSL
345°, 79%, 78%
CMYK
0, 37, 28, 5
Luminance
0.4461

At a glance

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

Hex
#f398af
Hue
345°
magenta / pink
Saturation
79%
electric
Lightness
78%
light
Brightness
95%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4461
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.92:1
Closest name
Light Pink
ΔE2000 7.3
Where it sits
Hue345° of 360°
Saturation79%
Lightness78%
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#f398af
RGBrgb(243, 152, 175)
HSLhsl(345, 79%, 78%)
CMYKcmyk(0%, 37%, 28%, 5%)
LABlab(72.6 37.0 2.5)
LCHlch(72.6 37.0 3.9)
OKLCHoklch(0.778 0.112 3.6)
Decimal15964335
Display P3color(display-p3 0.953 0.596 0.686)

Copy-ready code

/* CSS */
color: #f398af;
background-color: #f398af;
/* Tailwind (arbitrary) */
class="text-[#f398af] bg-[#f398af]"
/* SCSS */
$brand: #f398af;
/* SwiftUI */
Color(red: 0.953, green: 0.596, blue: 0.686)
/* Android */
Color.parseColor("#f398af")
/* Flutter */
Color(0xFFF398AF)
/* Python / OpenCV (BGR) */
(175, 152, 243)

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 #f398af · 9.92:1
Use #000000AAA at every size.
Aa
White text · 2.12:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.92:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f398af as text scores 2.12:1 on white and 9.92:1 on black.

Accessibility — WCAG contrast

Aa
#f398af on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#f398af on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A6A8B0
deuteranopia · #BCB9AD
tritanopia · #FF91A0

Color scale — 50 to 950

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

#FCF3F5
#F9E6EB
#F5C7D2
#f398af
#ED688A
#E83663
#DB1A4B
#B7153E
#921132
#6A1127
#420A19
Base = 300Lightest = 50 · #FCF3F5Darkest = 950 · #420A19
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F9E6EB;
  --brand-200: #F5C7D2;
  --brand-300: #f398af;
  --brand-400: #ED688A;
  --brand-500: #E83663;
  --brand-600: #DB1A4B;
  --brand-700: #B7153E;
  --brand-800: #921132;
  --brand-900: #6A1127;
  --brand-950: #420A19;
  --brand: #f398af;
  --brand-ink: #000000;
}

Colors that work with #f398af

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#EDC0CB
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#12BA65
Second voice, not a rival
Dark variant#720D27
Hover, pressed, headers
Light variant#FCE8ED
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 #f398af

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#98F3DC
Analogous left#F398DD
Analogous right#F3AF98
Split-complement 1#98F3AF
Split-complement 2#98DDF3
Triadic 1#AFF398
Triadic 2#98AFF3
Tetradic#DDF398

RGB percentages

Red95.3%
Green59.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta37.4%
Yellow28.0%
Key (black)4.7%

Color previews

#f398af text on a black background

contrast 9.92:1

Card sample

#f398af text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f398af

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.

#f398af in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f398af, answered

What color is #f398af?

#f398af is a light electric magenta / pink, closest to Light Pink (ΔE2000 7.3). It sits at 345° on the hue wheel with 79% saturation and 78% lightness, which reads as warm.

What is the RGB value of #f398af?

rgb(243, 152, 175) — 243 red, 152 green and 175 blue out of 255, or 95.3% / 59.6% / 68.6% by channel.

Is #f398af a light or a dark color?

It is a mid-tone. Relative luminance is 0.4461 and perceived brightness is 73%, so black text on it reaches 9.92:1.

Should I use black or white text on #f398af?

Black. It scores 9.92:1 against #f398af, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #f398af?

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

What colors go well with #f398af?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5F for secondary text, #12BA65 as an accent and #720D27 for hover and pressed states. For a palette, the analogous pair #F398DD and #F3AF98 stays calm, while #98F3DC is the loudest partner.

What is #f398af in CMYK for printing?

cmyk(0%, 37%, 28%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #f398af 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 #F3A398; nudged cooler, #F497D1.

Work with #f398af in the Color Lab