Skip to content

#f0afbf

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

RGB
240, 175, 191
HSL
345°, 68%, 81%
CMYK
0, 27, 20, 6
Luminance
0.5295

At a glance

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

Hex
#f0afbf
Hue
345°
red
Saturation
68%
vivid
Lightness
81%
light
Brightness
94%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5295
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Vivid
Best ink
Black
11.59:1
Closest name
Light Pink
ΔE2000 3.4
Where it sits
Hue345° of 360°
Saturation68%
Lightness81%
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#f0afbf
RGBrgb(240, 175, 191)
HSLhsl(345, 68%, 81%)
CMYKcmyk(0%, 27%, 20%, 6%)
LABlab(77.8 26.0 1.3)
LCHlch(77.8 26.0 2.8)
OKLCHoklch(0.819 0.078 2.7)
Decimal15773631
Display P3color(display-p3 0.941 0.686 0.749)

Copy-ready code

/* CSS */
color: #f0afbf;
background-color: #f0afbf;
/* Tailwind (arbitrary) */
class="text-[#f0afbf] bg-[#f0afbf]"
/* SCSS */
$brand: #f0afbf;
/* SwiftUI */
Color(red: 0.941, green: 0.686, blue: 0.749)
/* Android */
Color.parseColor("#f0afbf")
/* Flutter */
Color(0xFFF0AFBF)
/* Python / OpenCV (BGR) */
(191, 175, 240)

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

Accessibility — WCAG contrast

Aa
#f0afbf on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#f0afbf on black: 11.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8BAC0
deuteranopia · #C7C5BE
tritanopia · #FBABB4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f0afbf 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
#F8E8EC
#F2CAD4
#f0afbf
#E4718E
#DC4268
#CE2750
#AC2043
#891A35
#64172A
#3E0E1A
Base = 300Lightest = 50 · #FBF3F5Darkest = 950 · #3E0E1A
:root {
  --brand-50: #FBF3F5;
  --brand-100: #F8E8EC;
  --brand-200: #F2CAD4;
  --brand-300: #f0afbf;
  --brand-400: #E4718E;
  --brand-500: #DC4268;
  --brand-600: #CE2750;
  --brand-700: #AC2043;
  --brand-800: #891A35;
  --brand-900: #64172A;
  --brand-950: #3E0E1A;
  --brand: #f0afbf;
  --brand-ink: #000000;
}

Colors that work with #f0afbf

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#9B4B5E
Captions on the surface
Accent#1CB067
Second voice, not a rival
Dark variant#6B142A
Hover, pressed, headers
Light variant#FBEAEE
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 #f0afbf

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#AFF0E0
Analogous left#F0AFE0
Analogous right#F0C0AF
Split-complement 1#AFF0C0
Split-complement 2#AFE0F0
Triadic 1#BFF0AF
Triadic 2#AFBFF0
Tetradic#E0F0AF

RGB percentages

Red94.1%
Green68.6%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow20.4%
Key (black)5.9%

Color previews

#f0afbf text on a black background

contrast 11.59:1

Card sample

#f0afbf text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0afbf

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.

#f0afbf 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.

#f0afbf, answered

What color is #f0afbf?

#f0afbf is a light vivid red, closest to Light Pink (ΔE2000 3.4). It sits at 345° on the hue wheel with 68% saturation and 81% lightness, which reads as warm.

What is the RGB value of #f0afbf?

rgb(240, 175, 191) — 240 red, 175 green and 191 blue out of 255, or 94.1% / 68.6% / 74.9% by channel.

Is #f0afbf a light or a dark color?

It is a light color. Relative luminance is 0.5295 and perceived brightness is 78%, so black text on it reaches 11.59:1.

Should I use black or white text on #f0afbf?

Black. It scores 11.59:1 against #f0afbf, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #f0afbf?

#AFF0E0 sits directly opposite on the wheel. Softer options are the split-complements #AFF0C0 and #AFE0F0, which give the same contrast with far less vibration.

What colors go well with #f0afbf?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #1CB067 as an accent and #6B142A for hover and pressed states. For a palette, the analogous pair #F0AFE0 and #F0C0AF stays calm, while #AFF0E0 is the loudest partner.

What is #f0afbf in CMYK for printing?

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

Is #f0afbf 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 #F0B7AF; nudged cooler, #F1AED7.

Work with #f0afbf in the Color Lab