Skip to content

#c0174c

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

RGB
192, 23, 76
HSL
341°, 79%, 42%
CMYK
0, 88, 60, 25
Luminance
0.1234

At a glance

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

Hex
#c0174c
Hue
341°
magenta / pink
Saturation
79%
electric
Lightness
42%
dark
Brightness
75%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1234
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.05:1
Closest name
Crimson
ΔE2000 9.1
Where it sits
Hue341° of 360°
Saturation79%
Lightness42%
Temperature
Warm ← → Cool27% 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#c0174c
RGBrgb(192, 23, 76)
HSLhsl(341, 79%, 42%)
CMYKcmyk(0%, 88%, 60%, 25%)
LABlab(41.8 64.2 15.8)
LCHlch(41.8 66.1 13.9)
OKLCHoklch(0.523 0.198 11.4)
Decimal12588876
Display P3color(display-p3 0.753 0.090 0.298)

Copy-ready code

/* CSS */
color: #c0174c;
background-color: #c0174c;
/* Tailwind (arbitrary) */
class="text-[#c0174c] bg-[#c0174c]"
/* SCSS */
$brand: #c0174c;
/* SwiftUI */
Color(red: 0.753, green: 0.090, blue: 0.298)
/* Android */
Color.parseColor("#c0174c")
/* Flutter */
Color(0xFFC0174C)
/* Python / OpenCV (BGR) */
(76, 23, 192)

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

Accessibility — WCAG contrast

Aa
#c0174c on white: 6.05:1
AA ✓ pass · AA-large · AAA
Aa
#c0174c on black: 3.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D4D4D
deuteranopia · #776E48
tritanopia · #D30031

Color scale — 50 to 950

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

#FCF3F6
#F9E6EC
#F5C7D5
#F39BB6
#ED6992
#E7376E
#DB1A56
#c0174c
#92113A
#69112D
#420B1C
Base = 700Lightest = 50 · #FCF3F6Darkest = 950 · #420B1C
:root {
  --brand-50: #FCF3F6;
  --brand-100: #F9E6EC;
  --brand-200: #F5C7D5;
  --brand-300: #F39BB6;
  --brand-400: #ED6992;
  --brand-500: #E7376E;
  --brand-600: #DB1A56;
  --brand-700: #c0174c;
  --brand-800: #92113A;
  --brand-900: #69112D;
  --brand-950: #420B1C;
  --brand: #c0174c;
  --brand-ink: #ffffff;
}

Colors that work with #c0174c

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#EDC0CE
Hairlines and dividers
Muted text#9B4B64
Captions on the surface
Accent#12BA5B
Second voice, not a rival
Dark variant#720E2D
Hover, pressed, headers
Light variant#FCE8EF
Selected rows, tints
Dark surface#241419
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 #c0174c

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#17C08B
Analogous left#C017A1
Analogous right#C03717
Split-complement 1#17C037
Split-complement 2#17A1C0
Triadic 1#4CC017
Triadic 2#174CC0
Tetradic#A1C017

RGB percentages

Red75.3%
Green9.0%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta88.0%
Yellow60.4%
Key (black)24.7%

Color previews

#c0174c text on a black background

contrast 3.47:1

Card sample

#c0174c text on a white background

contrast 6.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 23, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 23, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0174c;
background: linear-gradient(135deg, #c0174c, #C05317);

Monochromatic scale

Palettes built from #c0174c

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.

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

#c0174c, answered

What color is #c0174c?

#c0174c is a dark electric magenta / pink, closest to Crimson (ΔE2000 9.1). It sits at 341° on the hue wheel with 79% saturation and 42% lightness, which reads as warm.

What is the RGB value of #c0174c?

rgb(192, 23, 76) — 192 red, 23 green and 76 blue out of 255, or 75.3% / 9% / 29.8% by channel.

Is #c0174c a light or a dark color?

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

Should I use black or white text on #c0174c?

White. It scores 6.05:1 against #c0174c, versus 3.47:1 for black — AA at any size.

What is the complementary color of #c0174c?

#17C08B sits directly opposite on the wheel. Softer options are the split-complements #17C037 and #17A1C0, which give the same contrast with far less vibration.

What colors go well with #c0174c?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B64 for secondary text, #12BA5B as an accent and #720E2D for hover and pressed states. For a palette, the analogous pair #C017A1 and #C03717 stays calm, while #17C08B is the loudest partner.

What is #c0174c in CMYK for printing?

cmyk(0%, 88%, 60%, 25%). 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 #c0174c warm or cool?

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

Work with #c0174c in the Color Lab