Skip to content

#cc7f3f

a balanced, vivid orange · warm · closest name: Peru

RGB
204, 127, 63
HSL
27°, 58%, 52%
CMYK
0, 38, 69, 20
Luminance
0.2837

At a glance

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

Hex
#cc7f3f
Hue
27°
orange
Saturation
58%
vivid
Lightness
52%
balanced
Brightness
80%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2837
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
6.67:1
Closest name
Peru
ΔE2000 2.6
Where it sits
Hue27° of 360°
Saturation58%
Lightness52%
Temperature
Warm ← → Cool2% 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#cc7f3f
RGBrgb(204, 127, 63)
HSLhsl(27, 58%, 52%)
CMYKcmyk(0%, 38%, 69%, 20%)
LABlab(60.2 24.2 46.2)
LCHlch(60.2 52.2 62.3)
OKLCHoklch(0.666 0.124 57.9)
Decimal13401919
Display P3color(display-p3 0.800 0.498 0.247)

Copy-ready code

/* CSS */
color: #cc7f3f;
background-color: #cc7f3f;
/* Tailwind (arbitrary) */
class="text-[#cc7f3f] bg-[#cc7f3f]"
/* SCSS */
$brand: #cc7f3f;
/* SwiftUI */
Color(red: 0.800, green: 0.498, blue: 0.247)
/* Android */
Color.parseColor("#cc7f3f")
/* Flutter */
Color(0xFFCC7F3F)
/* Python / OpenCV (BGR) */
(63, 127, 204)

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

Accessibility — WCAG contrast

Aa
#cc7f3f on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#cc7f3f on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #968738
deuteranopia · #A8983F
tritanopia · #DE6F71

Color scale — 50 to 950

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

#FBF7F4
#F7EFE9
#EFDCCD
#E7C4A6
#DCA67A
#cc7f3f
#C17433
#A1602B
#814D22
#5E3A1D
#3B2412
Base = 500Lightest = 50 · #FBF7F4Darkest = 950 · #3B2412
:root {
  --brand-50: #FBF7F4;
  --brand-100: #F7EFE9;
  --brand-200: #EFDCCD;
  --brand-300: #E7C4A6;
  --brand-400: #DCA67A;
  --brand-500: #cc7f3f;
  --brand-600: #C17433;
  --brand-700: #A1602B;
  --brand-800: #814D22;
  --brand-900: #5E3A1D;
  --brand-950: #3B2412;
  --brand: #cc7f3f;
  --brand-ink: #000000;
}

Colors that work with #cc7f3f

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#EDD4C0
Hairlines and dividers
Muted text#9B6F4B
Captions on the surface
Accent#278BA5
Second voice, not a rival
Dark variant#653C1B
Hover, pressed, headers
Light variant#FAF2EB
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 #cc7f3f

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

Works well for
  • 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
Use with care
  • 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#3F8CCC
Analogous left#CC3F46
Analogous right#CCC53F
Split-complement 1#3FCCC5
Split-complement 2#3F46CC
Triadic 1#3FCC7F
Triadic 2#7F3FCC
Tetradic#46CC3F

RGB percentages

Red80.0%
Green49.8%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta37.7%
Yellow69.1%
Key (black)20.0%

Color previews

#cc7f3f text on a black background

contrast 6.67:1

Card sample

#cc7f3f text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 127, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 127, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7f3f;
background: linear-gradient(135deg, #cc7f3f, #BBCC3F);

Monochromatic scale

Palettes built from #cc7f3f

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.

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

Converts to four-color process without much drama. Proof it anyway.

#cc7f3f, answered

What color is #cc7f3f?

#cc7f3f is a balanced vivid orange, closest to Peru (ΔE2000 2.6). It sits at 27° on the hue wheel with 58% saturation and 52% lightness, which reads as warm.

What is the RGB value of #cc7f3f?

rgb(204, 127, 63) — 204 red, 127 green and 63 blue out of 255, or 80% / 49.8% / 24.7% by channel.

Is #cc7f3f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2837 and perceived brightness is 59%, so black text on it reaches 6.67:1.

Should I use black or white text on #cc7f3f?

Black. It scores 6.67:1 against #cc7f3f, versus 3.15:1 for white — AA at any size.

What is the complementary color of #cc7f3f?

#3F8CCC sits directly opposite on the wheel. Softer options are the split-complements #3FCCC5 and #3F46CC, which give the same contrast with far less vibration.

What colors go well with #cc7f3f?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B6F4B for secondary text, #278BA5 as an accent and #653C1B for hover and pressed states. For a palette, the analogous pair #CC3F46 and #CCC53F stays calm, while #3F8CCC is the loudest partner.

What is #cc7f3f in CMYK for printing?

cmyk(0%, 38%, 69%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cc7f3f 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 #D18A53; nudged cooler, #CE493D.

Work with #cc7f3f in the Color Lab