Skip to content

#970239

a dark, electric magenta / pink · warm · closest name: Brown

RGB
151, 2, 57
HSL
338°, 97%, 30%
CMYK
0, 99, 62, 41
Luminance
0.0692

At a glance

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

Hex
#970239
Hue
338°
magenta / pink
Saturation
97%
electric
Lightness
30%
dark
Brightness
59%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0692
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
8.81:1
Closest name
Brown
ΔE2000 11.4
Where it sits
Hue338° of 360°
Saturation97%
Lightness30%
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#970239
RGBrgb(151, 2, 57)
HSLhsl(338, 97%, 30%)
CMYKcmyk(0%, 99%, 62%, 41%)
LABlab(31.6 55.8 13.0)
LCHlch(31.6 57.3 13.1)
OKLCHoklch(0.433 0.172 10.7)
Decimal9896505
Display P3color(display-p3 0.592 0.008 0.224)

Copy-ready code

/* CSS */
color: #970239;
background-color: #970239;
/* Tailwind (arbitrary) */
class="text-[#970239] bg-[#970239]"
/* SCSS */
$brand: #970239;
/* SwiftUI */
Color(red: 0.592, green: 0.008, blue: 0.224)
/* Android */
Color.parseColor("#970239")
/* Flutter */
Color(0xFF970239)
/* Python / OpenCV (BGR) */
(57, 2, 151)

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

Accessibility — WCAG contrast

Aa
#970239 on white: 8.81:1
AA ✓ pass · AA-large · AAA
Aa
#970239 on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #38383A
deuteranopia · #5B5435
tritanopia · #A60020

Color scale — 50 to 950

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

#FDF1F6
#FCE4ED
#FBC1D6
#FE90B9
#FD5995
#FC2272
#F2035B
#C9034C
#970239
#74062F
#49041D
Base = 800Lightest = 50 · #FDF1F6Darkest = 950 · #49041D
:root {
  --brand-50: #FDF1F6;
  --brand-100: #FCE4ED;
  --brand-200: #FBC1D6;
  --brand-300: #FE90B9;
  --brand-400: #FD5995;
  --brand-500: #FC2272;
  --brand-600: #F2035B;
  --brand-700: #C9034C;
  --brand-800: #970239;
  --brand-900: #74062F;
  --brand-950: #49041D;
  --brand: #970239;
  --brand-ink: #ffffff;
}

Colors that work with #970239

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#EDC0D0
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#00993A
Second voice, not a rival
Dark variant#7E022F
Hover, pressed, headers
Light variant#FFE6EF
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 #970239

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#029760
Analogous left#970283
Analogous right#971602
Split-complement 1#029716
Split-complement 2#028397
Triadic 1#399702
Triadic 2#023997
Tetradic#839702

RGB percentages

Red59.2%
Green0.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta98.7%
Yellow62.3%
Key (black)40.8%

Color previews

#970239 text on a black background

contrast 2.38:1

Card sample

#970239 text on a white background

contrast 8.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 2, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 2, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #970239;
background: linear-gradient(135deg, #970239, #972E02);

Monochromatic scale

Palettes built from #970239

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.

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

#970239, answered

What color is #970239?

#970239 is a dark electric magenta / pink, closest to Brown (ΔE2000 11.4). It sits at 338° on the hue wheel with 97% saturation and 30% lightness, which reads as warm.

What is the RGB value of #970239?

rgb(151, 2, 57) — 151 red, 2 green and 57 blue out of 255, or 59.2% / 0.8% / 22.4% by channel.

Is #970239 a light or a dark color?

It is a dark color. Relative luminance is 0.0692 and perceived brightness is 33%, so white text on it reaches 8.81:1.

Should I use black or white text on #970239?

White. It scores 8.81:1 against #970239, versus 2.38:1 for black — AAA at any size.

What is the complementary color of #970239?

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

What colors go well with #970239?

For interface work: #FAF4F7 as the surface, #EDC0D0 for borders, #9B4B68 for secondary text, #00993A as an accent and #7E022F for hover and pressed states. For a palette, the analogous pair #970283 and #971602 stays calm, while #029760 is the loudest partner.

What is #970239 in CMYK for printing?

cmyk(0%, 99%, 62%, 41%). 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 #970239 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 #970202; nudged cooler, #990070.

Work with #970239 in the Color Lab