Skip to content

#cd0d4f

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

RGB
205, 13, 79
HSL
339°, 88%, 43%
CMYK
0, 94, 62, 20
Luminance
0.1383

At a glance

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

Hex
#cd0d4f
Hue
339°
magenta / pink
Saturation
88%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1383
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.58:1
Closest name
Crimson
ΔE2000 7.8
Where it sits
Hue339° of 360°
Saturation88%
Lightness43%
Temperature
Warm ← → Cool28% 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#cd0d4f
RGBrgb(205, 13, 79)
HSLhsl(339, 88%, 43%)
CMYKcmyk(0%, 94%, 62%, 20%)
LABlab(44.0 69.0 17.4)
LCHlch(44.0 71.2 14.2)
OKLCHoklch(0.545 0.213 11.6)
Decimal13438287
Display P3color(display-p3 0.804 0.051 0.310)

Copy-ready code

/* CSS */
color: #cd0d4f;
background-color: #cd0d4f;
/* Tailwind (arbitrary) */
class="text-[#cd0d4f] bg-[#cd0d4f]"
/* SCSS */
$brand: #cd0d4f;
/* SwiftUI */
Color(red: 0.804, green: 0.051, blue: 0.310)
/* Android */
Color.parseColor("#cd0d4f")
/* Flutter */
Color(0xFFCD0D4F)
/* Python / OpenCV (BGR) */
(79, 13, 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 #cd0d4f · 5.58:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.58:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.77:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cd0d4f as text scores 5.58:1 on white and 3.77:1 on black.

Accessibility — WCAG contrast

Aa
#cd0d4f on white: 5.58:1
AA ✓ pass · AA-large · AAA
Aa
#cd0d4f on black: 3.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #505050
deuteranopia · #7E754A
tritanopia · #E10030

Color scale — 50 to 950

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

#FDF2F6
#FAE5EC
#F8C4D6
#F895B7
#F56194
#F22C70
#E60F59
#cd0d4f
#990A3B
#6F0C2E
#45071D
Base = 700Lightest = 50 · #FDF2F6Darkest = 950 · #45071D
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5EC;
  --brand-200: #F8C4D6;
  --brand-300: #F895B7;
  --brand-400: #F56194;
  --brand-500: #F22C70;
  --brand-600: #E60F59;
  --brand-700: #cd0d4f;
  --brand-800: #990A3B;
  --brand-900: #6F0C2E;
  --brand-950: #45071D;
  --brand: #cd0d4f;
  --brand-ink: #ffffff;
}

Colors that work with #cd0d4f

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#EDC0CF
Hairlines and dividers
Muted text#9B4B66
Captions on the surface
Accent#08C454
Second voice, not a rival
Dark variant#78082E
Hover, pressed, headers
Light variant#FDE7EF
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 #cd0d4f

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#0DCD8B
Analogous left#CD0DAF
Analogous right#CD2B0D
Split-complement 1#0DCD2B
Split-complement 2#0DAFCD
Triadic 1#4FCD0D
Triadic 2#0D4FCD
Tetradic#AFCD0D

RGB percentages

Red80.4%
Green5.1%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow61.5%
Key (black)19.6%

Color previews

#cd0d4f text on a black background

contrast 3.77:1

Card sample

#cd0d4f text on a white background

contrast 5.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd0d4f

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.

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

#cd0d4f, answered

What color is #cd0d4f?

#cd0d4f is a dark electric magenta / pink, closest to Crimson (ΔE2000 7.8). It sits at 339° on the hue wheel with 88% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cd0d4f?

rgb(205, 13, 79) — 205 red, 13 green and 79 blue out of 255, or 80.4% / 5.1% / 31% by channel.

Is #cd0d4f a light or a dark color?

It is a dark color. Relative luminance is 0.1383 and perceived brightness is 45%, so white text on it reaches 5.58:1.

Should I use black or white text on #cd0d4f?

White. It scores 5.58:1 against #cd0d4f, versus 3.77:1 for black — AA at any size.

What is the complementary color of #cd0d4f?

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

What colors go well with #cd0d4f?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #08C454 as an accent and #78082E for hover and pressed states. For a palette, the analogous pair #CD0DAF and #CD2B0D stays calm, while #0DCD8B is the loudest partner.

What is #cd0d4f in CMYK for printing?

cmyk(0%, 94%, 62%, 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 #cd0d4f warm or cool?

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

Work with #cd0d4f in the Color Lab