Skip to content

#cb0f39

a dark, electric red · warm · closest name: Crimson

RGB
203, 15, 57
HSL
347°, 86%, 43%
CMYK
0, 93, 72, 20
Luminance
0.1333

At a glance

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

Hex
#cb0f39
Hue
347°
red
Saturation
86%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1333
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.73:1
Closest name
Crimson
ΔE2000 3.8
Where it sits
Hue347° of 360°
Saturation86%
Lightness43%
Temperature
Warm ← → Cool24% 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#cb0f39
RGBrgb(203, 15, 57)
HSLhsl(347, 86%, 43%)
CMYKcmyk(0%, 93%, 72%, 20%)
LABlab(43.3 67.2 30.1)
LCHlch(43.3 73.6 24.1)
OKLCHoklch(0.537 0.210 19.2)
Decimal13307705
Display P3color(display-p3 0.796 0.059 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb0f39 on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#cb0f39 on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544E39
deuteranopia · #807333
tritanopia · #E00025

Color scale — 50 to 950

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

#FDF2F4
#FAE5EA
#F7C5D0
#F797AC
#F36283
#F02E59
#E41140
#cb0f39
#980B2B
#6E0D22
#450815
Base = 700Lightest = 50 · #FDF2F4Darkest = 950 · #450815
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5EA;
  --brand-200: #F7C5D0;
  --brand-300: #F797AC;
  --brand-400: #F36283;
  --brand-500: #F02E59;
  --brand-600: #E41140;
  --brand-700: #cb0f39;
  --brand-800: #980B2B;
  --brand-900: #6E0D22;
  --brand-950: #450815;
  --brand: #cb0f39;
  --brand-ink: #ffffff;
}

Colors that work with #cb0f39

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#EDC0CA
Hairlines and dividers
Muted text#9B4B5D
Captions on the surface
Accent#0AC26B
Second voice, not a rival
Dark variant#770921
Hover, pressed, headers
Light variant#FDE7EC
Selected rows, tints
Dark surface#241417
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 #cb0f39

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#0FCBA1
Analogous left#CB0F97
Analogous right#CB430F
Split-complement 1#0FCB43
Split-complement 2#0F97CB
Triadic 1#39CB0F
Triadic 2#0F39CB
Tetradic#97CB0F

RGB percentages

Red79.6%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta92.6%
Yellow71.9%
Key (black)20.4%

Color previews

#cb0f39 text on a black background

contrast 3.67:1

Card sample

#cb0f39 text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0f39

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.

#cb0f39 in the real world

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

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#cb0f39, answered

What color is #cb0f39?

#cb0f39 is a dark electric red, closest to Crimson (ΔE2000 3.8). It sits at 347° on the hue wheel with 86% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cb0f39?

rgb(203, 15, 57) — 203 red, 15 green and 57 blue out of 255, or 79.6% / 5.9% / 22.4% by channel.

Is #cb0f39 a light or a dark color?

It is a dark color. Relative luminance is 0.1333 and perceived brightness is 44%, so white text on it reaches 5.73:1.

Should I use black or white text on #cb0f39?

White. It scores 5.73:1 against #cb0f39, versus 3.67:1 for black — AA at any size.

What is the complementary color of #cb0f39?

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

What colors go well with #cb0f39?

For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5D for secondary text, #0AC26B as an accent and #770921 for hover and pressed states. For a palette, the analogous pair #CB0F97 and #CB430F stays calm, while #0FCBA1 is the loudest partner.

What is #cb0f39 in CMYK for printing?

cmyk(0%, 93%, 72%, 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 #cb0f39 warm or cool?

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

Work with #cb0f39 in the Color Lab