Skip to content

#cb024c

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

RGB
203, 2, 76
HSL
338°, 98%, 40%
CMYK
0, 99, 63, 20
Luminance
0.1326

At a glance

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

Hex
#cb024c
Hue
338°
magenta / pink
Saturation
98%
electric
Lightness
40%
dark
Brightness
80%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1326
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.75:1
Closest name
Crimson
ΔE2000 7.8
Where it sits
Hue338° of 360°
Saturation98%
Lightness40%
Temperature
Warm ← → Cool29% 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#cb024c
RGBrgb(203, 2, 76)
HSLhsl(338, 98%, 40%)
CMYKcmyk(0%, 99%, 63%, 20%)
LABlab(43.2 69.4 18.1)
LCHlch(43.2 71.7 14.6)
OKLCHoklch(0.538 0.214 11.9)
Decimal13304396
Display P3color(display-p3 0.796 0.008 0.298)

Copy-ready code

/* CSS */
color: #cb024c;
background-color: #cb024c;
/* Tailwind (arbitrary) */
class="text-[#cb024c] bg-[#cb024c]"
/* SCSS */
$brand: #cb024c;
/* SwiftUI */
Color(red: 0.796, green: 0.008, blue: 0.298)
/* Android */
Color.parseColor("#cb024c")
/* Flutter */
Color(0xFFCB024C)
/* Python / OpenCV (BGR) */
(76, 2, 203)

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

Accessibility — WCAG contrast

Aa
#cb024c on white: 5.75:1
AA ✓ pass · AA-large · AAA
Aa
#cb024c on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E4E4D
deuteranopia · #7D7347
tritanopia · #DF002C

Color scale — 50 to 950

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

#FDF1F6
#FCE3EC
#FBC1D6
#FE90B8
#FD5895
#FD2172
#F2025B
#cb024c
#A2023D
#74062F
#49041D
Base = 700Lightest = 50 · #FDF1F6Darkest = 950 · #49041D
:root {
  --brand-50: #FDF1F6;
  --brand-100: #FCE3EC;
  --brand-200: #FBC1D6;
  --brand-300: #FE90B8;
  --brand-400: #FD5895;
  --brand-500: #FD2172;
  --brand-600: #F2025B;
  --brand-700: #cb024c;
  --brand-800: #A2023D;
  --brand-900: #74062F;
  --brand-950: #49041D;
  --brand: #cb024c;
  --brand-ink: #ffffff;
}

Colors that work with #cb024c

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#FAF4F7
Tinted page background
Border#EDC0D0
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#00CC4E
Second voice, not a rival
Dark variant#7E012F
Hover, pressed, headers
Light variant#FFE6EF
Selected rows, tints
Dark surface#24141A
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 #cb024c

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#02CB81
Analogous left#CB02B1
Analogous right#CB1D02
Split-complement 1#02CB1D
Split-complement 2#02B1CB
Triadic 1#4CCB02
Triadic 2#024CCB
Tetradic#B1CB02

RGB percentages

Red79.6%
Green0.8%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta99.0%
Yellow62.6%
Key (black)20.4%

Color previews

#cb024c text on a black background

contrast 3.65:1

Card sample

#cb024c text on a white background

contrast 5.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb024c

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.

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

#cb024c, answered

What color is #cb024c?

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

What is the RGB value of #cb024c?

rgb(203, 2, 76) — 203 red, 2 green and 76 blue out of 255, or 79.6% / 0.8% / 29.8% by channel.

Is #cb024c a light or a dark color?

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

Should I use black or white text on #cb024c?

White. It scores 5.75:1 against #cb024c, versus 3.65:1 for black — AA at any size.

What is the complementary color of #cb024c?

#02CB81 sits directly opposite on the wheel. Softer options are the split-complements #02CB1D and #02B1CB, which give the same contrast with far less vibration.

What colors go well with #cb024c?

For interface work: #FAF4F7 as the surface, #EDC0D0 for borders, #9B4B68 for secondary text, #00CC4E as an accent and #7E012F for hover and pressed states. For a palette, the analogous pair #CB02B1 and #CB1D02 stays calm, while #02CB81 is the loudest partner.

What is #cb024c in CMYK for printing?

cmyk(0%, 99%, 63%, 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 #cb024c warm or cool?

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

Work with #cb024c in the Color Lab