Skip to content

#af102c

a dark, electric red · warm · closest name: Brown

RGB
175, 16, 44
HSL
349°, 83%, 38%
CMYK
0, 91, 75, 31
Luminance
0.0967

At a glance

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

Hex
#af102c
Hue
349°
red
Saturation
83%
electric
Lightness
38%
dark
Brightness
69%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0967
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.16:1
Closest name
Brown
ΔE2000 3.8
Where it sits
Hue349° of 360°
Saturation83%
Lightness38%
Temperature
Warm ← → Cool23% 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#af102c
RGBrgb(175, 16, 44)
HSLhsl(349, 83%, 38%)
CMYKcmyk(0%, 91%, 75%, 31%)
LABlab(37.2 59.3 29.5)
LCHlch(37.2 66.3 26.5)
OKLCHoklch(0.482 0.186 20.9)
Decimal11472940
Display P3color(display-p3 0.686 0.063 0.173)

Copy-ready code

/* CSS */
color: #af102c;
background-color: #af102c;
/* Tailwind (arbitrary) */
class="text-[#af102c] bg-[#af102c]"
/* SCSS */
$brand: #af102c;
/* SwiftUI */
Color(red: 0.686, green: 0.063, blue: 0.173)
/* Android */
Color.parseColor("#af102c")
/* Flutter */
Color(0xFFAF102C)
/* Python / OpenCV (BGR) */
(44, 16, 175)

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

Accessibility — WCAG contrast

Aa
#af102c on white: 7.16:1
AA ✓ pass · AA-large · AAA
Aa
#af102c on black: 2.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #48432B
deuteranopia · #6E6326
tritanopia · #C1001E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af102c is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2F4
#FAE6E9
#F6C6CE
#F698A9
#F1657E
#EC3152
#E01539
#af102c
#950E26
#6C0E1F
#440913
Base = 700Lightest = 50 · #FCF2F4Darkest = 950 · #440913
:root {
  --brand-50: #FCF2F4;
  --brand-100: #FAE6E9;
  --brand-200: #F6C6CE;
  --brand-300: #F698A9;
  --brand-400: #F1657E;
  --brand-500: #EC3152;
  --brand-600: #E01539;
  --brand-700: #af102c;
  --brand-800: #950E26;
  --brand-900: #6C0E1F;
  --brand-950: #440913;
  --brand: #af102c;
  --brand-ink: #ffffff;
}

Colors that work with #af102c

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

Text on it#ffffff
White wins here
Surface#FAF4F5
Tinted page background
Border#EDC0C8
Hairlines and dividers
Muted text#9B4B59
Captions on the surface
Accent#0DBF73
Second voice, not a rival
Dark variant#750B1D
Hover, pressed, headers
Light variant#FDE8EB
Selected rows, tints
Dark surface#241417
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 #af102c

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black 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#10AF93
Analogous left#AF107C
Analogous right#AF4410
Split-complement 1#10AF44
Split-complement 2#107CAF
Triadic 1#2CAF10
Triadic 2#102CAF
Tetradic#7CAF10

RGB percentages

Red68.6%
Green6.3%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta90.9%
Yellow74.9%
Key (black)31.4%

Color previews

#af102c text on a black background

contrast 2.93:1

Card sample

#af102c text on a white background

contrast 7.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af102c

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.

#af102c 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
ButtonsLinksFocus statesCharts
Print note

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

#af102c, answered

What color is #af102c?

#af102c is a dark electric red, closest to Brown (ΔE2000 3.8). It sits at 349° on the hue wheel with 83% saturation and 38% lightness, which reads as warm.

What is the RGB value of #af102c?

rgb(175, 16, 44) — 175 red, 16 green and 44 blue out of 255, or 68.6% / 6.3% / 17.3% by channel.

Is #af102c a light or a dark color?

It is a dark color. Relative luminance is 0.0967 and perceived brightness is 38%, so white text on it reaches 7.16:1.

Should I use black or white text on #af102c?

White. It scores 7.16:1 against #af102c, versus 2.93:1 for black — AAA at any size.

What is the complementary color of #af102c?

#10AF93 sits directly opposite on the wheel. Softer options are the split-complements #10AF44 and #107CAF, which give the same contrast with far less vibration.

What colors go well with #af102c?

For interface work: #FAF4F5 as the surface, #EDC0C8 for borders, #9B4B59 for secondary text, #0DBF73 as an accent and #750B1D for hover and pressed states. For a palette, the analogous pair #AF107C and #AF4410 stays calm, while #10AF93 is the loudest partner.

What is #af102c in CMYK for printing?

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

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

Work with #af102c in the Color Lab