Skip to content

#ea256f

a balanced, electric magenta / pink · warm · closest name: Deep Pink

RGB
234, 37, 111
HSL
338°, 82%, 53%
CMYK
0, 84, 53, 8
Luminance
0.1996

At a glance

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

Hex
#ea256f
Hue
338°
magenta / pink
Saturation
82%
electric
Lightness
53%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1996
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.99:1
Closest name
Deep Pink
ΔE2000 7.5
Where it sits
Hue338° of 360°
Saturation82%
Lightness53%
Temperature
Warm ← → Cool29% 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#ea256f
RGBrgb(234, 37, 111)
HSLhsl(338, 82%, 53%)
CMYKcmyk(0%, 84%, 53%, 8%)
LABlab(51.8 74.4 9.4)
LCHlch(51.8 75.0 7.2)
OKLCHoklch(0.614 0.229 6.1)
Decimal15345007
Display P3color(display-p3 0.918 0.145 0.435)

Copy-ready code

/* CSS */
color: #ea256f;
background-color: #ea256f;
/* Tailwind (arbitrary) */
class="text-[#ea256f] bg-[#ea256f]"
/* SCSS */
$brand: #ea256f;
/* SwiftUI */
Color(red: 0.918, green: 0.145, blue: 0.435)
/* Android */
Color.parseColor("#ea256f")
/* Flutter */
Color(0xFFEA256F)
/* Python / OpenCV (BGR) */
(111, 37, 234)

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

Accessibility — WCAG contrast

Aa
#ea256f on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#ea256f on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5E6370
deuteranopia · #91896A
tritanopia · #FF0048

Color scale — 50 to 950

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

#FCF2F6
#FAE6ED
#F6C6D8
#F599BB
#F0669A
#ea256f
#DF1661
#BA1251
#950E41
#6C0F32
#43091F
Base = 500Lightest = 50 · #FCF2F6Darkest = 950 · #43091F
:root {
  --brand-50: #FCF2F6;
  --brand-100: #FAE6ED;
  --brand-200: #F6C6D8;
  --brand-300: #F599BB;
  --brand-400: #F0669A;
  --brand-500: #ea256f;
  --brand-600: #DF1661;
  --brand-700: #BA1251;
  --brand-800: #950E41;
  --brand-900: #6C0F32;
  --brand-950: #43091F;
  --brand: #ea256f;
  --brand-ink: #000000;
}

Colors that work with #ea256f

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#FAF4F7
Tinted page background
Border#EDC0D1
Hairlines and dividers
Muted text#9B4B69
Captions on the surface
Accent#0EBE50
Second voice, not a rival
Dark variant#740B33
Hover, pressed, headers
Light variant#FDE8F0
Selected rows, tints
Dark surface#24141A
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 #ea256f

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#25EAA0
Analogous left#EA25D1
Analogous right#EA3D25
Split-complement 1#25EA3D
Split-complement 2#25D1EA
Triadic 1#6FEA25
Triadic 2#256FEA
Tetradic#D1EA25

RGB percentages

Red91.8%
Green14.5%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta84.2%
Yellow52.6%
Key (black)8.2%

Color previews

#ea256f text on a black background

contrast 4.99:1

Card sample

#ea256f text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 37, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 37, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ea256f;
background: linear-gradient(135deg, #ea256f, #EA5E25);

Monochromatic scale

Palettes built from #ea256f

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.

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

#ea256f, answered

What color is #ea256f?

#ea256f is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 7.5). It sits at 338° on the hue wheel with 82% saturation and 53% lightness, which reads as warm.

What is the RGB value of #ea256f?

rgb(234, 37, 111) — 234 red, 37 green and 111 blue out of 255, or 91.8% / 14.5% / 43.5% by channel.

Is #ea256f a light or a dark color?

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

Should I use black or white text on #ea256f?

Black. It scores 4.99:1 against #ea256f, versus 4.21:1 for white — AA at any size.

What is the complementary color of #ea256f?

#25EAA0 sits directly opposite on the wheel. Softer options are the split-complements #25EA3D and #25D1EA, which give the same contrast with far less vibration.

What colors go well with #ea256f?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B69 for secondary text, #0EBE50 as an accent and #740B33 for hover and pressed states. For a palette, the analogous pair #EA25D1 and #EA3D25 stays calm, while #25EAA0 is the loudest partner.

What is #ea256f in CMYK for printing?

cmyk(0%, 84%, 53%, 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 #ea256f warm or cool?

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

Work with #ea256f in the Color Lab