Skip to content

#c40c3c

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
196, 12, 60
HSL
344°, 89%, 41%
CMYK
0, 94, 69, 23
Luminance
0.1232

At a glance

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

Hex
#c40c3c
Hue
344°
magenta / pink
Saturation
89%
electric
Lightness
41%
dark
Brightness
77%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1232
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.06:1
Closest name
Crimson
ΔE2000 5.8
Where it sits
Hue344° of 360°
Saturation89%
Lightness41%
Temperature
Warm ← → Cool25% 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#c40c3c
RGBrgb(196, 12, 60)
HSLhsl(344, 89%, 41%)
CMYKcmyk(0%, 94%, 69%, 23%)
LABlab(41.7 65.9 26.0)
LCHlch(41.7 70.9 21.6)
OKLCHoklch(0.524 0.205 17.2)
Decimal12848188
Display P3color(display-p3 0.769 0.047 0.235)

Copy-ready code

/* CSS */
color: #c40c3c;
background-color: #c40c3c;
/* Tailwind (arbitrary) */
class="text-[#c40c3c] bg-[#c40c3c]"
/* SCSS */
$brand: #c40c3c;
/* SwiftUI */
Color(red: 0.769, green: 0.047, blue: 0.235)
/* Android */
Color.parseColor("#c40c3c")
/* Flutter */
Color(0xFFC40C3C)
/* Python / OpenCV (BGR) */
(60, 12, 196)

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

Accessibility — WCAG contrast

Aa
#c40c3c on white: 6.06:1
AA ✓ pass · AA-large · AAA
Aa
#c40c3c on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F4B3C
deuteranopia · #7A6F36
tritanopia · #D80025

Color scale — 50 to 950

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

#FDF2F5
#FAE5EB
#F8C4D1
#F995AF
#F56087
#F22C5F
#E70E47
#c40c3c
#9A092F
#6F0B25
#450717
Base = 700Lightest = 50 · #FDF2F5Darkest = 950 · #450717
:root {
  --brand-50: #FDF2F5;
  --brand-100: #FAE5EB;
  --brand-200: #F8C4D1;
  --brand-300: #F995AF;
  --brand-400: #F56087;
  --brand-500: #F22C5F;
  --brand-600: #E70E47;
  --brand-700: #c40c3c;
  --brand-800: #9A092F;
  --brand-900: #6F0B25;
  --brand-950: #450717;
  --brand: #c40c3c;
  --brand-ink: #ffffff;
}

Colors that work with #c40c3c

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#FAF4F6
Tinted page background
Border#EDC0CC
Hairlines and dividers
Muted text#9B4B60
Captions on the surface
Accent#08C464
Second voice, not a rival
Dark variant#780725
Hover, pressed, headers
Light variant#FEE7ED
Selected rows, tints
Dark surface#241418
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 #c40c3c

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#0CC494
Analogous left#C40C98
Analogous right#C4380C
Split-complement 1#0CC438
Split-complement 2#0C98C4
Triadic 1#3CC40C
Triadic 2#0C3CC4
Tetradic#98C40C

RGB percentages

Red76.9%
Green4.7%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta93.9%
Yellow69.4%
Key (black)23.1%

Color previews

#c40c3c text on a black background

contrast 3.46:1

Card sample

#c40c3c text on a white background

contrast 6.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 12, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 12, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c40c3c;
background: linear-gradient(135deg, #c40c3c, #C4570C);

Monochromatic scale

Palettes built from #c40c3c

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.

#c40c3c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c40c3c, answered

What color is #c40c3c?

#c40c3c is a dark electric magenta / pink, closest to Crimson (ΔE2000 5.8). It sits at 344° on the hue wheel with 89% saturation and 41% lightness, which reads as warm.

What is the RGB value of #c40c3c?

rgb(196, 12, 60) — 196 red, 12 green and 60 blue out of 255, or 76.9% / 4.7% / 23.5% by channel.

Is #c40c3c a light or a dark color?

It is a dark color. Relative luminance is 0.1232 and perceived brightness is 43%, so white text on it reaches 6.06:1.

Should I use black or white text on #c40c3c?

White. It scores 6.06:1 against #c40c3c, versus 3.46:1 for black — AA at any size.

What is the complementary color of #c40c3c?

#0CC494 sits directly opposite on the wheel. Softer options are the split-complements #0CC438 and #0C98C4, which give the same contrast with far less vibration.

What colors go well with #c40c3c?

For interface work: #FAF4F6 as the surface, #EDC0CC for borders, #9B4B60 for secondary text, #08C464 as an accent and #780725 for hover and pressed states. For a palette, the analogous pair #C40C98 and #C4380C stays calm, while #0CC494 is the loudest partner.

What is #c40c3c in CMYK for printing?

cmyk(0%, 94%, 69%, 23%). 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 #c40c3c warm or cool?

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

Work with #c40c3c in the Color Lab