Skip to content

#f22331

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

RGB
242, 35, 49
HSL
356°, 89%, 54%
CMYK
0, 86, 80, 5
Luminance
0.2030

At a glance

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

Hex
#f22331
Hue
356°
red
Saturation
89%
electric
Lightness
54%
balanced
Brightness
95%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2030
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
Black
5.06:1
Closest name
Red
ΔE2000 7
Where it sits
Hue356° of 360°
Saturation89%
Lightness54%
Temperature
Warm ← → Cool19% 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#f22331
RGBrgb(242, 35, 49)
HSLhsl(356, 89%, 54%)
CMYKcmyk(0%, 86%, 80%, 5%)
LABlab(52.2 73.7 46.7)
LCHlch(52.2 87.3 32.4)
OKLCHoklch(0.616 0.235 25.3)
Decimal15868721
Display P3color(display-p3 0.949 0.137 0.192)

Copy-ready code

/* CSS */
color: #f22331;
background-color: #f22331;
/* Tailwind (arbitrary) */
class="text-[#f22331] bg-[#f22331]"
/* SCSS */
$brand: #f22331;
/* SwiftUI */
Color(red: 0.949, green: 0.137, blue: 0.192)
/* Android */
Color.parseColor("#f22331")
/* Flutter */
Color(0xFFF22331)
/* Python / OpenCV (BGR) */
(49, 35, 242)

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

Accessibility — WCAG contrast

Aa
#f22331 on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#f22331 on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B602F
deuteranopia · #9C8C27
tritanopia · #FF002C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f22331 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2F3
#FBE5E6
#F8C4C7
#F9959C
#F6606A
#f22331
#E70E1D
#C10B18
#9A0913
#6F0B12
#45070B
Base = 500Lightest = 50 · #FDF2F3Darkest = 950 · #45070B
:root {
  --brand-50: #FDF2F3;
  --brand-100: #FBE5E6;
  --brand-200: #F8C4C7;
  --brand-300: #F9959C;
  --brand-400: #F6606A;
  --brand-500: #f22331;
  --brand-600: #E70E1D;
  --brand-700: #C10B18;
  --brand-800: #9A0913;
  --brand-900: #6F0B12;
  --brand-950: #45070B;
  --brand: #f22331;
  --brand-ink: #000000;
}

Colors that work with #f22331

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#FAF4F5
Tinted page background
Border#EDC0C3
Hairlines and dividers
Muted text#9B4B50
Captions on the surface
Accent#07C589
Second voice, not a rival
Dark variant#78070F
Hover, pressed, headers
Light variant#FEE7E8
Selected rows, tints
Dark surface#241415
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 #f22331

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#23F2E4
Analogous left#F22399
Analogous right#F27C23
Split-complement 1#23F27C
Split-complement 2#2399F2
Triadic 1#31F223
Triadic 2#2331F2
Tetradic#99F223

RGB percentages

Red94.9%
Green13.7%
Blue19.2%

CMYK percentages

Cyan0.0%
Magenta85.5%
Yellow79.8%
Key (black)5.1%

Color previews

#f22331 text on a black background

contrast 5.06:1

Card sample

#f22331 text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 35, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 35, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f22331;
background: linear-gradient(135deg, #f22331, #F29F23);

Monochromatic scale

Palettes built from #f22331

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.

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

#f22331, answered

What color is #f22331?

#f22331 is a balanced electric red, closest to Red (ΔE2000 7). It sits at 356° on the hue wheel with 89% saturation and 54% lightness, which reads as warm.

What is the RGB value of #f22331?

rgb(242, 35, 49) — 242 red, 35 green and 49 blue out of 255, or 94.9% / 13.7% / 19.2% by channel.

Is #f22331 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2030 and perceived brightness is 53%, so black text on it reaches 5.06:1.

Should I use black or white text on #f22331?

Black. It scores 5.06:1 against #f22331, versus 4.15:1 for white — AA at any size.

What is the complementary color of #f22331?

#23F2E4 sits directly opposite on the wheel. Softer options are the split-complements #23F27C and #2399F2, which give the same contrast with far less vibration.

What colors go well with #f22331?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #07C589 as an accent and #78070F for hover and pressed states. For a palette, the analogous pair #F22399 and #F27C23 stays calm, while #23F2E4 is the loudest partner.

What is #f22331 in CMYK for printing?

cmyk(0%, 86%, 80%, 5%). 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 #f22331 warm or cool?

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

Work with #f22331 in the Color Lab