Skip to content

#ec0f3f

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

RGB
236, 15, 63
HSL
347°, 88%, 49%
CMYK
0, 94, 73, 8
Luminance
0.1853

At a glance

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

Hex
#ec0f3f
Hue
347°
red
Saturation
88%
electric
Lightness
49%
balanced
Brightness
93%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1853
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
Black
4.71:1
Closest name
Crimson
ΔE2000 3.3
Where it sits
Hue347° of 360°
Saturation88%
Lightness49%
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#ec0f3f
RGBrgb(236, 15, 63)
HSLhsl(347, 88%, 49%)
CMYKcmyk(0%, 94%, 73%, 8%)
LABlab(50.1 75.5 36.3)
LCHlch(50.1 83.8 25.7)
OKLCHoklch(0.600 0.236 20.2)
Decimal15470399
Display P3color(display-p3 0.925 0.059 0.247)

Copy-ready code

/* CSS */
color: #ec0f3f;
background-color: #ec0f3f;
/* Tailwind (arbitrary) */
class="text-[#ec0f3f] bg-[#ec0f3f]"
/* SCSS */
$brand: #ec0f3f;
/* SwiftUI */
Color(red: 0.925, green: 0.059, blue: 0.247)
/* Android */
Color.parseColor("#ec0f3f")
/* Flutter */
Color(0xFFEC0F3F)
/* Python / OpenCV (BGR) */
(63, 15, 236)

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

Accessibility — WCAG contrast

Aa
#ec0f3f on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#ec0f3f on black: 4.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #625B3E
deuteranopia · #958737
tritanopia · #FF0029

Color scale — 50 to 950

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

#FDF2F4
#FAE5EA
#F8C4CF
#F896AB
#F56181
#F22C57
#ec0f3f
#C00C33
#990A29
#6F0C21
#450715
Base = 600Lightest = 50 · #FDF2F4Darkest = 950 · #450715
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5EA;
  --brand-200: #F8C4CF;
  --brand-300: #F896AB;
  --brand-400: #F56181;
  --brand-500: #F22C57;
  --brand-600: #ec0f3f;
  --brand-700: #C00C33;
  --brand-800: #990A29;
  --brand-900: #6F0C21;
  --brand-950: #450715;
  --brand: #ec0f3f;
  --brand-ink: #000000;
}

Colors that work with #ec0f3f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F6
Tinted page background
Border#EDC0C9
Hairlines and dividers
Muted text#9B4B5C
Captions on the surface
Accent#08C46C
Second voice, not a rival
Dark variant#780820
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 #ec0f3f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#0FECBC
Analogous left#EC0FAD
Analogous right#EC4E0F
Split-complement 1#0FEC4E
Split-complement 2#0FADEC
Triadic 1#3FEC0F
Triadic 2#0F3FEC
Tetradic#ADEC0F

RGB percentages

Red92.5%
Green5.9%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta93.6%
Yellow73.3%
Key (black)7.5%

Color previews

#ec0f3f text on a black background

contrast 4.71:1

Card sample

#ec0f3f text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec0f3f

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.

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

#ec0f3f, answered

What color is #ec0f3f?

#ec0f3f is a balanced electric red, closest to Crimson (ΔE2000 3.3). It sits at 347° on the hue wheel with 88% saturation and 49% lightness, which reads as warm.

What is the RGB value of #ec0f3f?

rgb(236, 15, 63) — 236 red, 15 green and 63 blue out of 255, or 92.5% / 5.9% / 24.7% by channel.

Is #ec0f3f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1853 and perceived brightness is 51%, so black text on it reaches 4.71:1.

Should I use black or white text on #ec0f3f?

Black. It scores 4.71:1 against #ec0f3f, versus 4.46:1 for white — AA at any size.

What is the complementary color of #ec0f3f?

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

What colors go well with #ec0f3f?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5C for secondary text, #08C46C as an accent and #780820 for hover and pressed states. For a palette, the analogous pair #EC0FAD and #EC4E0F stays calm, while #0FECBC is the loudest partner.

What is #ec0f3f in CMYK for printing?

cmyk(0%, 94%, 73%, 8%). 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 #ec0f3f 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 #EC2A0F; nudged cooler, #EE0D90.

Work with #ec0f3f in the Color Lab