#c87313
a dark, electric orange · warm · closest name: Peru
At a glance
Every number on this page in one read: what #c87313 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 | #c87313 |
| RGB | rgb(200, 115, 19) |
| HSL | hsl(32, 83%, 43%) |
| CMYK | cmyk(0%, 43%, 91%, 22%) |
| LAB | lab(56.7 27.4 60.1) |
| LCH | lch(56.7 66.0 65.4) |
| OKLCH | oklch(0.637 0.143 60.7) |
| Decimal | 13136659 |
| Display P3 | color(display-p3 0.784 0.451 0.075) |
Copy-ready code
/* CSS */
color: #c87313;
background-color: #c87313;
/* Tailwind (arbitrary) */
class="text-[#c87313] bg-[#c87313]"
/* SCSS */
$brand: #c87313;
/* SwiftUI */
Color(red: 0.784, green: 0.451, blue: 0.075)
/* Android */
Color.parseColor("#c87313")
/* Flutter */
Color(0xFFC87313)
/* Python / OpenCV (BGR) */
(19, 115, 200)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. #c87313 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.
:root {
--brand-50: #FCF8F2;
--brand-100: #FAF0E6;
--brand-200: #F6DFC6;
--brand-300: #F5CA99;
--brand-400: #F0AF65;
--brand-500: #EB9432;
--brand-600: #E08015;
--brand-700: #c87313;
--brand-800: #95560E;
--brand-900: #6C400F;
--brand-950: #432809;
--brand: #c87313;
--brand-ink: #000000;
}Colors that work with #c87313
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 #c87313
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
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #1368C8 | Directly opposite — maximum tension | |
| Analogous left | #C81813 | Neighbour, quieter | |
| Analogous right | #C2C813 | Neighbour, quieter | |
| Split-complement 1 | #13C2C8 | Contrast without the clash | |
| Split-complement 2 | #1813C8 | Contrast without the clash | |
| Triadic 1 | #13C873 | Even thirds — balanced and loud | |
| Triadic 2 | #7313C8 | Even thirds — balanced and loud | |
| Tetradic | #13C818 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c87313 text on a black background
contrast 5.92:1
#c87313 text on a white background
contrast 3.55:1
CSS3 live lab
The quick brown fox
color: #c87313;
background-color: #c87313;
Glowing headline
text-shadow: 2px 2px 8px #c87313;
Soft neon halo
text-shadow: 0 0 14px rgba(200, 115, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(200, 115, 19, 0.45);
border: 3px solid #c87313; background: linear-gradient(135deg, #c87313, #A4C813);
Monochromatic scale
Palettes built from #c87313
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: Ochre (#cc7722) — ΔE2000 1.8 away, with its history, psychology and brand usage.
#c87313 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#c87313, answered
What color is #c87313?
#c87313 is a dark electric orange, closest to Peru (ΔE2000 5.8). It sits at 32° on the hue wheel with 83% saturation and 43% lightness, which reads as warm.
What is the RGB value of #c87313?
rgb(200, 115, 19) — 200 red, 115 green and 19 blue out of 255, or 78.4% / 45.1% / 7.5% by channel.
Is #c87313 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2459 and perceived brightness is 55%, so black text on it reaches 5.92:1.
Should I use black or white text on #c87313?
Black. It scores 5.92:1 against #c87313, versus 3.55:1 for white — AA at any size.
What is the complementary color of #c87313?
#1368C8 sits directly opposite on the wheel. Softer options are the split-complements #13C2C8 and #1813C8, which give the same contrast with far less vibration.
What colors go well with #c87313?
For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B754B for secondary text, #0F97CC as an accent and #74430B for hover and pressed states. For a palette, the analogous pair #C81813 and #C2C813 stays calm, while #1368C8 is the loudest partner.
What is #c87313 in CMYK for printing?
cmyk(0%, 43%, 91%, 22%). 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 #c87313 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 #DF7415; nudged cooler, #CAB711.