#af7142
a balanced, vivid orange · warm · closest name: Chocolate
At a glance
Every number on this page in one read: what #af7142 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #af7142 |
| RGB | rgb(175, 113, 66) |
| HSL | hsl(26, 45%, 47%) |
| CMYK | cmyk(0%, 35%, 62%, 31%) |
| LAB | lab(53.3 19.8 35.8) |
| LCH | lch(53.3 40.9 61.0) |
| OKLCH | oklch(0.605 0.101 56.6) |
| Decimal | 11497794 |
| Display P3 | color(display-p3 0.686 0.443 0.259) |
Copy-ready code
/* CSS */
color: #af7142;
background-color: #af7142;
/* Tailwind (arbitrary) */
class="text-[#af7142] bg-[#af7142]"
/* SCSS */
$brand: #af7142;
/* SwiftUI */
Color(red: 0.686, green: 0.443, blue: 0.259)
/* Android */
Color.parseColor("#af7142")
/* Flutter */
Color(0xFFAF7142)
/* Python / OpenCV (BGR) */
(66, 113, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #af7142 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FAF7F5;
--brand-100: #F5EFEA;
--brand-200: #EBDCD1;
--brand-300: #E0C3AE;
--brand-400: #D1A685;
--brand-500: #C2885C;
--brand-600: #af7142;
--brand-700: #946038;
--brand-800: #764D2D;
--brand-900: #573A24;
--brand-950: #362416;
--brand: #af7142;
--brand-ink: #000000;
}Colors that work with #af7142
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af7142
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #4280AF | Directly opposite — maximum tension | |
| Analogous left | #AF424A | Neighbour, quieter | |
| Analogous right | #AFA842 | Neighbour, quieter | |
| Split-complement 1 | #42AFA8 | Contrast without the clash | |
| Split-complement 2 | #424AAF | Contrast without the clash | |
| Triadic 1 | #42AF71 | Even thirds — balanced and loud | |
| Triadic 2 | #7142AF | Even thirds — balanced and loud | |
| Tetradic | #4AAF42 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af7142 text on a black background
contrast 5.26:1
#af7142 text on a white background
contrast 3.99:1
CSS3 live lab
The quick brown fox
color: #af7142;
background-color: #af7142;
Glowing headline
text-shadow: 2px 2px 8px #af7142;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 113, 66, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 113, 66, 0.45);
border: 3px solid #af7142; background: linear-gradient(135deg, #af7142, #A4AF42);
Monochromatic scale
Palettes built from #af7142
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.
Closest color with a full write-up: Copper (#b87333) — ΔE2000 3.9 away, with its history, psychology and brand usage.
#af7142 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#af7142, answered
What color is #af7142?
#af7142 is a balanced vivid orange, closest to Chocolate (ΔE2000 8.6). It sits at 26° on the hue wheel with 45% saturation and 47% lightness, which reads as warm.
What is the RGB value of #af7142?
rgb(175, 113, 66) — 175 red, 113 green and 66 blue out of 255, or 68.6% / 44.3% / 25.9% by channel.
Is #af7142 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2132 and perceived brightness is 51%, so black text on it reaches 5.26:1.
Should I use black or white text on #af7142?
Black. It scores 5.26:1 against #af7142, versus 3.99:1 for white — AA at any size.
What is the complementary color of #af7142?
#4280AF sits directly opposite on the wheel. Softer options are the split-complements #42AFA8 and #424AAF, which give the same contrast with far less vibration.
What colors go well with #af7142?
For interface work: #FAF7F4 as the surface, #E9D4C4 for borders, #9B6D4B for secondary text, #348698 as an accent and #5D3C23 for hover and pressed states. For a palette, the analogous pair #AF424A and #AFA842 stays calm, while #4280AF is the loudest partner.
What is #af7142 in CMYK for printing?
cmyk(0%, 35%, 62%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af7142 warm or cool?
Warm — it scores 2 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC7D4E; nudged cooler, #B24740.