#E278AC#E278AC

#E278AC is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.7% C 0.144 H 350.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#E278AC
RGBrgb(226, 120, 172)
HSLhsl(331, 65%, 68%)
HSVhsv(331, 47%, 89%)
CMYKcmyk(0%, 46.9%, 23.9%, 11.4%)
CIE-LABlab(63.82, 47.15, -9.01)
CIE-LCHlch(63.82, 48.01, 349.18°)
OKLaboklab(70.68% 0.1418 -0.0233)
OKLCHoklch(70.68% 0.144 350.6)
XYZxyz(45.5282, 32.5839, 42.9132)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278AC #78E2AE
analogous
#E278E1 #E278AC #E27978
triadic
#E278AC #ACE278 #78ACE2
tetradic
#E278AC #E1E278 #78E2AE #7978E2
square
#E278AC #E1E278 #78E2AE #7978E2
split-complementary
#E278AC #78E279 #78E1E2
monochromatic
#B8286E #D7468D #E278AC #EDAACB #F8DDEA

Accessibility & contrast

On white

2.79
#E278AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#E278AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278AC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278AC#FFFFFF#000000##000000
##E278AC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAE
Deuteranopia (green-blind)
#9FA2A9
Tritanopia (blue-blind)
#EF748B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e278ac;
/* rgb */ color: rgb(226, 120, 172);
/* oklch */ color: oklch(70.7% 0.144 350.6);
Tailwind
colors: {
  custom: {
    50: '#eda2c4',
    500: '#e278ac',
    950: '#000000',
  },
}
SCSS
$custom: #e278ac;
$custom-light: #eda2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e278ac",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 330.566,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.14367,
    "h": 350.6
  },
  "luminance": 0.3258
}

Semantic roles & 50–950 ramp

primary
#E278AC
secondary
#CBEBDB
accent
#CC7419
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#170F12
muted
#857F81

Preview Lab

Preview with #E278AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E278AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva