Skip to content

#cd331b

a balanced, electric red · warm · closest name: Firebrick

RGB
205, 51, 27
HSL
8°, 77%, 46%
CMYK
0, 75, 87, 20
Luminance
0.1543

At a glance

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

Hex
#cd331b
Hue
red
Saturation
77%
electric
Lightness
46%
balanced
Brightness
80%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1543
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.14:1
Closest name
Firebrick
ΔE2000 8.1
Where it sits
Hue8° of 360°
Saturation77%
Lightness46%
Temperature
Warm ← → Cool12% 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#cd331b
RGBrgb(205, 51, 27)
HSLhsl(8, 77%, 46%)
CMYKcmyk(0%, 75%, 87%, 20%)
LABlab(46.2 58.7 49.6)
LCHlch(46.2 76.8 40.2)
OKLCHoklch(0.559 0.194 31.7)
Decimal13447963
Display P3color(display-p3 0.804 0.200 0.106)

Copy-ready code

/* CSS */
color: #cd331b;
background-color: #cd331b;
/* Tailwind (arbitrary) */
class="text-[#cd331b] bg-[#cd331b]"
/* SCSS */
$brand: #cd331b;
/* SwiftUI */
Color(red: 0.804, green: 0.200, blue: 0.106)
/* Android */
Color.parseColor("#cd331b")
/* Flutter */
Color(0xFFCD331B)
/* Python / OpenCV (BGR) */
(27, 51, 205)

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

Accessibility — WCAG contrast

Aa
#cd331b on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#cd331b on black: 4.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #635815
deuteranopia · #897A0F
tritanopia · #E20030

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd331b 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.

#FCF4F3
#F9E9E7
#F4CEC7
#F2A79C
#EB7C6A
#E55039
#cd331b
#B42D18
#902413
#681E12
#41130B
Base = 600Lightest = 50 · #FCF4F3Darkest = 950 · #41130B
:root {
  --brand-50: #FCF4F3;
  --brand-100: #F9E9E7;
  --brand-200: #F4CEC7;
  --brand-300: #F2A79C;
  --brand-400: #EB7C6A;
  --brand-500: #E55039;
  --brand-600: #cd331b;
  --brand-700: #B42D18;
  --brand-800: #902413;
  --brand-900: #681E12;
  --brand-950: #41130B;
  --brand: #cd331b;
  --brand-ink: #ffffff;
}

Colors that work with #cd331b

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#FAF5F4
Tinted page background
Border#EDC6C0
Hairlines and dividers
Muted text#9B554B
Captions on the surface
Accent#13B9A5
Second voice, not a rival
Dark variant#711C0F
Hover, pressed, headers
Light variant#FCEBE8
Selected rows, tints
Dark surface#241614
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 #cd331b

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
  • Brand accents, badges and data highlights
Use with care
  • 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#1BB5CD
Analogous left#CD1B5C
Analogous right#CD8C1B
Split-complement 1#1BCD8C
Split-complement 2#1B5CCD
Triadic 1#1BCD33
Triadic 2#331BCD
Tetradic#5CCD1B

RGB percentages

Red80.4%
Green20.0%
Blue10.6%

CMYK percentages

Cyan0.0%
Magenta75.1%
Yellow86.8%
Key (black)19.6%

Color previews

#cd331b text on a black background

contrast 4.09:1

Card sample

#cd331b text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 51, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 51, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd331b;
background: linear-gradient(135deg, #cd331b, #CDAA1B);

Monochromatic scale

Palettes built from #cd331b

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.

#cd331b 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.

#cd331b, answered

What color is #cd331b?

#cd331b is a balanced electric red, closest to Firebrick (ΔE2000 8.1). It sits at 8° on the hue wheel with 77% saturation and 46% lightness, which reads as warm.

What is the RGB value of #cd331b?

rgb(205, 51, 27) — 205 red, 51 green and 27 blue out of 255, or 80.4% / 20% / 10.6% by channel.

Is #cd331b a light or a dark color?

It is a dark color. Relative luminance is 0.1543 and perceived brightness is 47%, so white text on it reaches 5.14:1.

Should I use black or white text on #cd331b?

White. It scores 5.14:1 against #cd331b, versus 4.09:1 for black — AA at any size.

What is the complementary color of #cd331b?

#1BB5CD sits directly opposite on the wheel. Softer options are the split-complements #1BCD8C and #1B5CCD, which give the same contrast with far less vibration.

What colors go well with #cd331b?

For interface work: #FAF5F4 as the surface, #EDC6C0 for borders, #9B554B for secondary text, #13B9A5 as an accent and #711C0F for hover and pressed states. For a palette, the analogous pair #CD1B5C and #CD8C1B stays calm, while #1BB5CD is the loudest partner.

What is #cd331b in CMYK for printing?

cmyk(0%, 75%, 87%, 20%). 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 #cd331b warm or cool?

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

Work with #cd331b in the Color Lab