#af3c38
a balanced, vivid red · warm · closest name: Brown
At a glance
Every number on this page in one read: what #af3c38 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 | #af3c38 |
| RGB | rgb(175, 60, 56) |
| HSL | hsl(2, 52%, 45%) |
| CMYK | cmyk(0%, 66%, 68%, 31%) |
| LAB | lab(42.2 46.6 28.1) |
| LCH | lch(42.2 54.4 31.1) |
| OKLCH | oklch(0.520 0.151 25.8) |
| Decimal | 11484216 |
| Display P3 | color(display-p3 0.686 0.235 0.220) |
Copy-ready code
/* CSS */
color: #af3c38;
background-color: #af3c38;
/* Tailwind (arbitrary) */
class="text-[#af3c38] bg-[#af3c38]"
/* SCSS */
$brand: #af3c38;
/* SwiftUI */
Color(red: 0.686, green: 0.235, blue: 0.220)
/* Android */
Color.parseColor("#af3c38")
/* Flutter */
Color(0xFFAF3C38)
/* Python / OpenCV (BGR) */
(56, 60, 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. #af3c38 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: #FAF4F4;
--brand-100: #F6EAEA;
--brand-200: #EDD0CF;
--brand-300: #E4ACAA;
--brand-400: #D68280;
--brand-500: #C95955;
--brand-600: #af3c38;
--brand-700: #9B3531;
--brand-800: #7C2A28;
--brand-900: #5A2220;
--brand-950: #381514;
--brand: #af3c38;
--brand-ink: #ffffff;
}Colors that work with #af3c38
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 #af3c38
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #38ABAF | Directly opposite — maximum tension | |
| Analogous left | #AF3870 | Neighbour, quieter | |
| Analogous right | #AF7738 | Neighbour, quieter | |
| Split-complement 1 | #38AF77 | Contrast without the clash | |
| Split-complement 2 | #3870AF | Contrast without the clash | |
| Triadic 1 | #38AF3C | Even thirds — balanced and loud | |
| Triadic 2 | #3C38AF | Even thirds — balanced and loud | |
| Tetradic | #70AF38 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af3c38 text on a black background
contrast 3.53:1
#af3c38 text on a white background
contrast 5.96:1
CSS3 live lab
The quick brown fox
color: #af3c38;
background-color: #af3c38;
Glowing headline
text-shadow: 2px 2px 8px #af3c38;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 60, 56, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 60, 56, 0.45);
border: 3px solid #af3c38; background: linear-gradient(135deg, #af3c38, #AF8B38);
Monochromatic scale
Palettes built from #af3c38
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: Cardinal (#c41e3a) — ΔE2000 5.6 away, with its history, psychology and brand usage.
#af3c38 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.
#af3c38, answered
What color is #af3c38?
#af3c38 is a balanced vivid red, closest to Brown (ΔE2000 4.3). It sits at 2° on the hue wheel with 52% saturation and 45% lightness, which reads as warm.
What is the RGB value of #af3c38?
rgb(175, 60, 56) — 175 red, 60 green and 56 blue out of 255, or 68.6% / 23.5% / 22% by channel.
Is #af3c38 a light or a dark color?
It is a dark color. Relative luminance is 0.1263 and perceived brightness is 42%, so white text on it reaches 5.96:1.
Should I use black or white text on #af3c38?
White. It scores 5.96:1 against #af3c38, versus 3.53:1 for black — AA at any size.
What is the complementary color of #af3c38?
#38ABAF sits directly opposite on the wheel. Softer options are the split-complements #38AF77 and #3870AF, which give the same contrast with far less vibration.
What colors go well with #af3c38?
For interface work: #FAF4F4 as the surface, #EBC3C1 for borders, #9B4D4B for secondary text, #2D9F86 as an accent and #61211F for hover and pressed states. For a palette, the analogous pair #AF3870 and #AF7738 stays calm, while #38ABAF is the loudest partner.
What is #af3c38 in CMYK for printing?
cmyk(0%, 66%, 68%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af3c38 warm or cool?
Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF5B38; nudged cooler, #B1365F.