Skip to content

#ff7a9b

a light, electric red · warm · closest name: Pale Violet Red

RGB
255, 122, 155
HSL
345°, 100%, 74%
CMYK
0, 52, 39, 0
Luminance
0.3755

At a glance

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

Hex
#ff7a9b
Hue
345°
red
Saturation
100%
electric
Lightness
74%
light
Brightness
100%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3755
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Electric
Best ink
Black
8.51:1
Closest name
Pale Violet Red
ΔE2000 7.1
Where it sits
Hue345° of 360°
Saturation100%
Lightness74%
Temperature
Warm ← → Cool25% 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#ff7a9b
RGBrgb(255, 122, 155)
HSLhsl(345, 100%, 74%)
CMYKcmyk(0%, 52%, 39%, 0%)
LABlab(67.7 53.7 6.8)
LCHlch(67.7 54.1 7.2)
OKLCHoklch(0.742 0.164 6.3)
Decimal16743067
Display P3color(display-p3 1.000 0.478 0.608)

Copy-ready code

/* CSS */
color: #ff7a9b;
background-color: #ff7a9b;
/* Tailwind (arbitrary) */
class="text-[#ff7a9b] bg-[#ff7a9b]"
/* SCSS */
$brand: #ff7a9b;
/* SwiftUI */
Color(red: 1.000, green: 0.478, blue: 0.608)
/* Android */
Color.parseColor("#ff7a9b")
/* Flutter */
Color(0xFFFF7A9B)
/* Python / OpenCV (BGR) */
(155, 122, 255)

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

Accessibility — WCAG contrast

Aa
#ff7a9b on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#ff7a9b on black: 8.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #93959C
deuteranopia · #B5AF98
tritanopia · #FF6C86

Color scale — 50 to 950

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

#FEF1F4
#FCE3E9
#FCC0CF
#ff7a9b
#FF5780
#FF1F56
#F5003D
#CC0033
#A30029
#760521
#490315
Base = 300Lightest = 50 · #FEF1F4Darkest = 950 · #490315
:root {
  --brand-50: #FEF1F4;
  --brand-100: #FCE3E9;
  --brand-200: #FCC0CF;
  --brand-300: #ff7a9b;
  --brand-400: #FF5780;
  --brand-500: #FF1F56;
  --brand-600: #F5003D;
  --brand-700: #CC0033;
  --brand-800: #A30029;
  --brand-900: #760521;
  --brand-950: #490315;
  --brand: #ff7a9b;
  --brand-ink: #000000;
}

Colors that work with #ff7a9b

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#FAF4F6
Tinted page background
Border#EDC0CB
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#00CC67
Second voice, not a rival
Dark variant#800020
Hover, pressed, headers
Light variant#FFE5EC
Selected rows, tints
Dark surface#241418
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 #ff7a9b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White 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#7AFFDE
Analogous left#FF7ADE
Analogous right#FF9B7A
Split-complement 1#7AFF9B
Split-complement 2#7ADEFF
Triadic 1#9BFF7A
Triadic 2#7A9BFF
Tetradic#DEFF7A

RGB percentages

Red100.0%
Green47.8%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta52.2%
Yellow39.2%
Key (black)0.0%

Color previews

#ff7a9b text on a black background

contrast 8.51:1

Card sample

#ff7a9b text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 122, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 122, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff7a9b;
background: linear-gradient(135deg, #ff7a9b, #FFB27A);

Monochromatic scale

Palettes built from #ff7a9b

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.

#ff7a9b 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ff7a9b, answered

What color is #ff7a9b?

#ff7a9b is a light electric red, closest to Pale Violet Red (ΔE2000 7.1). It sits at 345° on the hue wheel with 100% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ff7a9b?

rgb(255, 122, 155) — 255 red, 122 green and 155 blue out of 255, or 100% / 47.8% / 60.8% by channel.

Is #ff7a9b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3755 and perceived brightness is 69%, so black text on it reaches 8.51:1.

Should I use black or white text on #ff7a9b?

Black. It scores 8.51:1 against #ff7a9b, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #ff7a9b?

#7AFFDE sits directly opposite on the wheel. Softer options are the split-complements #7AFF9B and #7ADEFF, which give the same contrast with far less vibration.

What colors go well with #ff7a9b?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5F for secondary text, #00CC67 as an accent and #800020 for hover and pressed states. For a palette, the analogous pair #FF7ADE and #FF9B7A stays calm, while #7AFFDE is the loudest partner.

What is #ff7a9b in CMYK for printing?

cmyk(0%, 52%, 39%, 0%). 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 #ff7a9b warm or cool?

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

Work with #ff7a9b in the Color Lab