Skip to content

#220310

a deep, electric magenta / pink · warm · closest name: Black

RGB
34, 3, 16
HSL
335°, 84%, 7%
CMYK
0, 91, 53, 87
Luminance
0.0044

At a glance

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

Hex
#220310
Hue
335°
magenta / pink
Saturation
84%
electric
Lightness
7%
deep
Brightness
13%
HSV value
Perceived
8%
weighted brightness
Luminance
0.0044
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
19.29:1
Closest name
Black
ΔE2000 15
Where it sits
Hue335° of 360°
Saturation84%
Lightness7%
Temperature
Warm ← → Cool31% 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#220310
RGBrgb(34, 3, 16)
HSLhsl(335, 84%, 7%)
CMYKcmyk(0%, 91%, 53%, 87%)
LABlab(4.0 14.9 -0.8)
LCHlch(4.0 15.0 357.1)
OKLCHoklch(0.172 0.058 357.3)
Decimal2229008
Display P3color(display-p3 0.133 0.012 0.063)

Copy-ready code

/* CSS */
color: #220310;
background-color: #220310;
/* Tailwind (arbitrary) */
class="text-[#220310] bg-[#220310]"
/* SCSS */
$brand: #220310;
/* SwiftUI */
Color(red: 0.133, green: 0.012, blue: 0.063)
/* Android */
Color.parseColor("#220310")
/* Flutter */
Color(0xFF220310)
/* Python / OpenCV (BGR) */
(16, 3, 34)

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 #220310 · 19.29:1
Use #ffffffAAA at every size.
Aa
White text · 19.29:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.09:1
AA fail · AA large fail · AAA fail
Reading the other direction: #220310 as text scores 19.29:1 on white and 1.09:1 on black.

Accessibility — WCAG contrast

Aa
#220310 on white: 19.29:1
AA ✓ pass · AA-large · AAA
Aa
#220310 on black: 1.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #080A10
deuteranopia · #11100F
tritanopia · #260108

Color scale — 50 to 950

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

#FCF2F7
#FAE6EE
#F6C5DA
#F698BF
#F164A0
#ED3180
#E1146A
#BB1158
#960D47
#6C0E36
#220310
Base = 950Lightest = 50 · #FCF2F7Darkest = 950 · #220310
:root {
  --brand-50: #FCF2F7;
  --brand-100: #FAE6EE;
  --brand-200: #F6C5DA;
  --brand-300: #F698BF;
  --brand-400: #F164A0;
  --brand-500: #ED3180;
  --brand-600: #E1146A;
  --brand-700: #BB1158;
  --brand-800: #960D47;
  --brand-900: #6C0E36;
  --brand-950: #220310;
  --brand: #220310;
  --brand-ink: #ffffff;
}

Colors that work with #220310

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#EDC0D3
Hairlines and dividers
Muted text#9B4B6C
Captions on the surface
Accent#02230D
Second voice, not a rival
Dark variant#750A37
Hover, pressed, headers
Light variant#FDE8F1
Selected rows, tints
Dark surface#24141B
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 #220310

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
  • Text on black or near-black surfaces
  • 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#032215
Analogous left#220320
Analogous right#220603
Split-complement 1#032206
Split-complement 2#032022
Triadic 1#102203
Triadic 2#031022
Tetradic#202203

RGB percentages

Red13.3%
Green1.2%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta91.2%
Yellow52.9%
Key (black)86.7%

Color previews

#220310 text on a black background

contrast 1.09:1

Card sample

#220310 text on a white background

contrast 19.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #220310

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.

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

#220310, answered

What color is #220310?

#220310 is a deep electric magenta / pink, closest to Black (ΔE2000 15). It sits at 335° on the hue wheel with 84% saturation and 7% lightness, which reads as warm.

What is the RGB value of #220310?

rgb(34, 3, 16) — 34 red, 3 green and 16 blue out of 255, or 13.3% / 1.2% / 6.3% by channel.

Is #220310 a light or a dark color?

It is a dark color. Relative luminance is 0.0044 and perceived brightness is 8%, so white text on it reaches 19.29:1.

Should I use black or white text on #220310?

White. It scores 19.29:1 against #220310, versus 1.09:1 for black — AAA at any size.

What is the complementary color of #220310?

#032215 sits directly opposite on the wheel. Softer options are the split-complements #032206 and #032022, which give the same contrast with far less vibration.

What colors go well with #220310?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6C for secondary text, #02230D as an accent and #750A37 for hover and pressed states. For a palette, the analogous pair #220320 and #220603 stays calm, while #032215 is the loudest partner.

What is #220310 in CMYK for printing?

cmyk(0%, 91%, 53%, 87%). 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 #220310 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #220305; nudged cooler, #23031C.

Work with #220310 in the Color Lab