Skip to content

#ffaf9d

a light, electric red · warm · closest name: Light Salmon

RGB
255, 175, 157
HSL
11°, 100%, 81%
CMYK
0, 31, 38, 0
Luminance
0.5435

At a glance

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

Hex
#ffaf9d
Hue
11°
red
Saturation
100%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5435
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
Black
11.87:1
Closest name
Light Salmon
ΔE2000 7.1
Where it sits
Hue11° of 360°
Saturation100%
Lightness81%
Temperature
Warm ← → Cool11% 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#ffaf9d
RGBrgb(255, 175, 157)
HSLhsl(11, 100%, 81%)
CMYKcmyk(0%, 31%, 38%, 0%)
LABlab(78.7 27.1 21.1)
LCHlch(78.7 34.3 37.9)
OKLCHoklch(0.826 0.098 33.2)
Decimal16756637
Display P3color(display-p3 1.000 0.686 0.616)

Copy-ready code

/* CSS */
color: #ffaf9d;
background-color: #ffaf9d;
/* Tailwind (arbitrary) */
class="text-[#ffaf9d] bg-[#ffaf9d]"
/* SCSS */
$brand: #ffaf9d;
/* SwiftUI */
Color(red: 1.000, green: 0.686, blue: 0.616)
/* Android */
Color.parseColor("#ffaf9d")
/* Flutter */
Color(0xFFFFAF9D)
/* Python / OpenCV (BGR) */
(157, 175, 255)

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

Accessibility — WCAG contrast

Aa
#ffaf9d on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ffaf9d on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1B99C
deuteranopia · #D4C99C
tritanopia · #FFA4AA

Color scale — 50 to 950

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

#FEF3F1
#FCE8E3
#FCCBC0
#ffaf9d
#FF7657
#FF481F
#F52D00
#CC2500
#A31E00
#761A05
#491003
Base = 300Lightest = 50 · #FEF3F1Darkest = 950 · #491003
:root {
  --brand-50: #FEF3F1;
  --brand-100: #FCE8E3;
  --brand-200: #FCCBC0;
  --brand-300: #ffaf9d;
  --brand-400: #FF7657;
  --brand-500: #FF481F;
  --brand-600: #F52D00;
  --brand-700: #CC2500;
  --brand-800: #A31E00;
  --brand-900: #761A05;
  --brand-950: #491003;
  --brand: #ffaf9d;
  --brand-ink: #000000;
}

Colors that work with #ffaf9d

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#FAF5F4
Tinted page background
Border#EDC8C0
Hairlines and dividers
Muted text#9B594B
Captions on the surface
Accent#00CCBD
Second voice, not a rival
Dark variant#801700
Hover, pressed, headers
Light variant#FFEAE5
Selected rows, tints
Dark surface#241714
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 #ffaf9d

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#9DEDFF
Analogous left#FF9DBC
Analogous right#FFE09D
Split-complement 1#9DFFE0
Split-complement 2#9DBCFF
Triadic 1#9DFFAF
Triadic 2#AF9DFF
Tetradic#BCFF9D

RGB percentages

Red100.0%
Green68.6%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow38.4%
Key (black)0.0%

Color previews

#ffaf9d text on a black background

contrast 11.87:1

Card sample

#ffaf9d text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf9d

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.

#ffaf9d 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

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

#ffaf9d, answered

What color is #ffaf9d?

#ffaf9d is a light electric red, closest to Light Salmon (ΔE2000 7.1). It sits at 11° on the hue wheel with 100% saturation and 81% lightness, which reads as warm.

What is the RGB value of #ffaf9d?

rgb(255, 175, 157) — 255 red, 175 green and 157 blue out of 255, or 100% / 68.6% / 61.6% by channel.

Is #ffaf9d a light or a dark color?

It is a light color. Relative luminance is 0.5435 and perceived brightness is 79%, so black text on it reaches 11.87:1.

Should I use black or white text on #ffaf9d?

Black. It scores 11.87:1 against #ffaf9d, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #ffaf9d?

#9DEDFF sits directly opposite on the wheel. Softer options are the split-complements #9DFFE0 and #9DBCFF, which give the same contrast with far less vibration.

What colors go well with #ffaf9d?

For interface work: #FAF5F4 as the surface, #EDC8C0 for borders, #9B594B for secondary text, #00CCBD as an accent and #801700 for hover and pressed states. For a palette, the analogous pair #FF9DBC and #FFE09D stays calm, while #9DEDFF is the loudest partner.

What is #ffaf9d in CMYK for printing?

cmyk(0%, 31%, 38%, 0%). 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 #ffaf9d warm or cool?

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

Work with #ffaf9d in the Color Lab