Skip to content

#f8af7c

a light, electric orange · warm · closest name: Sandy Brown

RGB
248, 175, 124
HSL
25°, 90%, 73%
CMYK
0, 29, 50, 3
Luminance
0.5207

At a glance

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

Hex
#f8af7c
Hue
25°
orange
Saturation
90%
electric
Lightness
73%
light
Brightness
97%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5207
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
11.41:1
Closest name
Sandy Brown
ΔE2000 4.5
Where it sits
Hue25° of 360°
Saturation90%
Lightness73%
Temperature
Warm ← → Cool3% 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#f8af7c
RGBrgb(248, 175, 124)
HSLhsl(25, 90%, 73%)
CMYKcmyk(0%, 29%, 50%, 3%)
LABlab(77.3 21.1 36.7)
LCHlch(77.3 42.3 60.2)
OKLCHoklch(0.812 0.108 55.5)
Decimal16297852
Display P3color(display-p3 0.973 0.686 0.486)

Copy-ready code

/* CSS */
color: #f8af7c;
background-color: #f8af7c;
/* Tailwind (arbitrary) */
class="text-[#f8af7c] bg-[#f8af7c]"
/* SCSS */
$brand: #f8af7c;
/* SwiftUI */
Color(red: 0.973, green: 0.686, blue: 0.486)
/* Android */
Color.parseColor("#f8af7c")
/* Flutter */
Color(0xFFF8AF7C)
/* Python / OpenCV (BGR) */
(124, 175, 248)

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

Accessibility — WCAG contrast

Aa
#f8af7c on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#f8af7c on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4B578
deuteranopia · #D5C57C
tritanopia · #FFA1A2

Color scale — 50 to 950

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

#FDF6F2
#FBEEE5
#F8D9C3
#f8af7c
#F79D5F
#F47D2A
#E8670C
#C2560A
#9B4508
#70340B
#462107
Base = 300Lightest = 50 · #FDF6F2Darkest = 950 · #462107
:root {
  --brand-50: #FDF6F2;
  --brand-100: #FBEEE5;
  --brand-200: #F8D9C3;
  --brand-300: #f8af7c;
  --brand-400: #F79D5F;
  --brand-500: #F47D2A;
  --brand-600: #E8670C;
  --brand-700: #C2560A;
  --brand-800: #9B4508;
  --brand-900: #70340B;
  --brand-950: #462107;
  --brand: #f8af7c;
  --brand-ink: #000000;
}

Colors that work with #f8af7c

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#FAF7F4
Tinted page background
Border#EDD2C0
Hairlines and dividers
Muted text#9B6C4B
Captions on the surface
Accent#06A7C6
Second voice, not a rival
Dark variant#793606
Hover, pressed, headers
Light variant#FEF0E7
Selected rows, tints
Dark surface#241B14
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 #f8af7c

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#7CC5F8
Analogous left#F87C87
Analogous right#F8ED7C
Split-complement 1#7CF8ED
Split-complement 2#7C87F8
Triadic 1#7CF8AF
Triadic 2#AF7CF8
Tetradic#87F87C

RGB percentages

Red97.3%
Green68.6%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta29.4%
Yellow50.0%
Key (black)2.7%

Color previews

#f8af7c text on a black background

contrast 11.41:1

Card sample

#f8af7c text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8af7c

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.

#f8af7c in the real world

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

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#f8af7c, answered

What color is #f8af7c?

#f8af7c is a light electric orange, closest to Sandy Brown (ΔE2000 4.5). It sits at 25° on the hue wheel with 90% saturation and 73% lightness, which reads as warm.

What is the RGB value of #f8af7c?

rgb(248, 175, 124) — 248 red, 175 green and 124 blue out of 255, or 97.3% / 68.6% / 48.6% by channel.

Is #f8af7c a light or a dark color?

It is a light color. Relative luminance is 0.5207 and perceived brightness is 77%, so black text on it reaches 11.41:1.

Should I use black or white text on #f8af7c?

Black. It scores 11.41:1 against #f8af7c, versus 1.84:1 for white — AAA at any size.

What is the complementary color of #f8af7c?

#7CC5F8 sits directly opposite on the wheel. Softer options are the split-complements #7CF8ED and #7C87F8, which give the same contrast with far less vibration.

What colors go well with #f8af7c?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6C4B for secondary text, #06A7C6 as an accent and #793606 for hover and pressed states. For a palette, the analogous pair #F87C87 and #F8ED7C stays calm, while #7CC5F8 is the loudest partner.

What is #f8af7c in CMYK for printing?

cmyk(0%, 29%, 50%, 3%). 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 #f8af7c warm or cool?

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

Work with #f8af7c in the Color Lab