Skip to content

#df2138

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

RGB
223, 33, 56
HSL
353°, 75%, 50%
CMYK
0, 85, 75, 13
Luminance
0.1706

At a glance

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

Hex
#df2138
Hue
353°
red
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1706
WCAG relative
Temperature
Warm
21/100 cool
Color family
Red
Tone
Vivid
Best ink
White
4.76:1
Closest name
Crimson
ΔE2000 2.5
Where it sits
Hue353° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool21% 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#df2138
RGBrgb(223, 33, 56)
HSLhsl(353, 75%, 50%)
CMYKcmyk(0%, 85%, 75%, 13%)
LABlab(48.3 69.4 37.6)
LCHlch(48.3 78.9 28.5)
OKLCHoklch(0.582 0.219 22.5)
Decimal14623032
Display P3color(display-p3 0.875 0.129 0.220)

Copy-ready code

/* CSS */
color: #df2138;
background-color: #df2138;
/* Tailwind (arbitrary) */
class="text-[#df2138] bg-[#df2138]"
/* SCSS */
$brand: #df2138;
/* SwiftUI */
Color(red: 0.875, green: 0.129, blue: 0.220)
/* Android */
Color.parseColor("#df2138")
/* Flutter */
Color(0xFFDF2138)
/* Python / OpenCV (BGR) */
(56, 33, 223)

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

Accessibility — WCAG contrast

Aa
#df2138 on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#df2138 on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #615937
deuteranopia · #8F8131
tritanopia · #F6002D

Color scale — 50 to 950

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

#FCF3F4
#F9E7E9
#F4C8CD
#F19DA7
#EA6C7B
#E33B4F
#df2138
#B21A2C
#8F1523
#67131D
#410C12
Base = 600Lightest = 50 · #FCF3F4Darkest = 950 · #410C12
:root {
  --brand-50: #FCF3F4;
  --brand-100: #F9E7E9;
  --brand-200: #F4C8CD;
  --brand-300: #F19DA7;
  --brand-400: #EA6C7B;
  --brand-500: #E33B4F;
  --brand-600: #df2138;
  --brand-700: #B21A2C;
  --brand-800: #8F1523;
  --brand-900: #67131D;
  --brand-950: #410C12;
  --brand: #df2138;
  --brand-ink: #ffffff;
}

Colors that work with #df2138

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#FAF4F5
Tinted page background
Border#EDC0C5
Hairlines and dividers
Muted text#9B4B54
Captions on the surface
Accent#16B67B
Second voice, not a rival
Dark variant#6F101C
Hover, pressed, headers
Light variant#FCE9EB
Selected rows, tints
Dark surface#241416
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 #df2138

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
  • Brand accents, badges and data highlights
Use with care
  • 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#21DFC8
Analogous left#DF2197
Analogous right#DF6921
Split-complement 1#21DF69
Split-complement 2#2197DF
Triadic 1#38DF21
Triadic 2#2138DF
Tetradic#97DF21

RGB percentages

Red87.5%
Green12.9%
Blue22.0%

CMYK percentages

Cyan0.0%
Magenta85.2%
Yellow74.9%
Key (black)12.5%

Color previews

#df2138 text on a black background

contrast 4.41:1

Card sample

#df2138 text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 33, 56, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 33, 56, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df2138;
background: linear-gradient(135deg, #df2138, #DF8921);

Monochromatic scale

Palettes built from #df2138

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.

#df2138 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

Converts to four-color process without much drama. Proof it anyway.

#df2138, answered

What color is #df2138?

#df2138 is a balanced vivid red, closest to Crimson (ΔE2000 2.5). It sits at 353° on the hue wheel with 75% saturation and 50% lightness, which reads as warm.

What is the RGB value of #df2138?

rgb(223, 33, 56) — 223 red, 33 green and 56 blue out of 255, or 87.5% / 12.9% / 22% by channel.

Is #df2138 a light or a dark color?

It is a dark color. Relative luminance is 0.1706 and perceived brightness is 49%, so white text on it reaches 4.76:1.

Should I use black or white text on #df2138?

White. It scores 4.76:1 against #df2138, versus 4.41:1 for black — AA at any size.

What is the complementary color of #df2138?

#21DFC8 sits directly opposite on the wheel. Softer options are the split-complements #21DF69 and #2197DF, which give the same contrast with far less vibration.

What colors go well with #df2138?

For interface work: #FAF4F5 as the surface, #EDC0C5 for borders, #9B4B54 for secondary text, #16B67B as an accent and #6F101C for hover and pressed states. For a palette, the analogous pair #DF2197 and #DF6921 stays calm, while #21DFC8 is the loudest partner.

What is #df2138 in CMYK for printing?

cmyk(0%, 85%, 75%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #df2138 warm or cool?

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

Work with #df2138 in the Color Lab