Skip to content

#cd2255

a balanced, vivid magenta / pink · warm · closest name: Crimson

RGB
205, 34, 85
HSL
342°, 72%, 47%
CMYK
0, 83, 59, 20
Luminance
0.1478

At a glance

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

Hex
#cd2255
Hue
342°
magenta / pink
Saturation
72%
vivid
Lightness
47%
balanced
Brightness
80%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1478
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.31:1
Closest name
Crimson
ΔE2000 8
Where it sits
Hue342° of 360°
Saturation72%
Lightness47%
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#cd2255
RGBrgb(205, 34, 85)
HSLhsl(342, 72%, 47%)
CMYKcmyk(0%, 83%, 59%, 20%)
LABlab(45.3 65.9 15.5)
LCHlch(45.3 67.7 13.2)
OKLCHoklch(0.555 0.203 10.9)
Decimal13443669
Display P3color(display-p3 0.804 0.133 0.333)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2255 on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#cd2255 on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #555556
deuteranopia · #807751
tritanopia · #E00039

Color scale — 50 to 950

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

#FCF3F6
#F8E7EC
#F3C9D5
#EF9FB7
#E76F93
#DF3F6E
#cd2255
#AF1D49
#8C173A
#65152D
#3F0D1C
Base = 600Lightest = 50 · #FCF3F6Darkest = 950 · #3F0D1C
:root {
  --brand-50: #FCF3F6;
  --brand-100: #F8E7EC;
  --brand-200: #F3C9D5;
  --brand-300: #EF9FB7;
  --brand-400: #E76F93;
  --brand-500: #DF3F6E;
  --brand-600: #cd2255;
  --brand-700: #AF1D49;
  --brand-800: #8C173A;
  --brand-900: #65152D;
  --brand-950: #3F0D1C;
  --brand: #cd2255;
  --brand-ink: #ffffff;
}

Colors that work with #cd2255

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#EDC0CD
Hairlines and dividers
Muted text#9B4B63
Captions on the surface
Accent#19B35F
Second voice, not a rival
Dark variant#6D122D
Hover, pressed, headers
Light variant#FBE9EF
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 #cd2255

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#22CD9A
Analogous left#CD22AB
Analogous right#CD4522
Split-complement 1#22CD45
Split-complement 2#22ABCD
Triadic 1#55CD22
Triadic 2#2255CD
Tetradic#ABCD22

RGB percentages

Red80.4%
Green13.3%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow58.5%
Key (black)19.6%

Color previews

#cd2255 text on a black background

contrast 3.96:1

Card sample

#cd2255 text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2255

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.

#cd2255 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

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

#cd2255, answered

What color is #cd2255?

#cd2255 is a balanced vivid magenta / pink, closest to Crimson (ΔE2000 8). It sits at 342° on the hue wheel with 72% saturation and 47% lightness, which reads as warm.

What is the RGB value of #cd2255?

rgb(205, 34, 85) — 205 red, 34 green and 85 blue out of 255, or 80.4% / 13.3% / 33.3% by channel.

Is #cd2255 a light or a dark color?

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

Should I use black or white text on #cd2255?

White. It scores 5.31:1 against #cd2255, versus 3.96:1 for black — AA at any size.

What is the complementary color of #cd2255?

#22CD9A sits directly opposite on the wheel. Softer options are the split-complements #22CD45 and #22ABCD, which give the same contrast with far less vibration.

What colors go well with #cd2255?

For interface work: #FAF4F6 as the surface, #EDC0CD for borders, #9B4B63 for secondary text, #19B35F as an accent and #6D122D for hover and pressed states. For a palette, the analogous pair #CD22AB and #CD4522 stays calm, while #22CD9A is the loudest partner.

What is #cd2255 in CMYK for printing?

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

Is #cd2255 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 #CD2E22; nudged cooler, #CF2095.

Work with #cd2255 in the Color Lab