#E278CD#E278CD

#E278CD is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.9% C 0.166 H 335.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#E278CD
RGBrgb(226, 120, 205)
HSLhsl(312, 65%, 68%)
HSVhsv(312, 47%, 89%)
CMYKcmyk(0%, 46.9%, 9.3%, 11.4%)
CIE-LABlab(64.97, 52.17, -25.92)
CIE-LCHlch(64.97, 58.25, 333.58°)
OKLaboklab(71.92% 0.1507 -0.07)
OKLCHoklch(71.92% 0.166 335.1)
XYZxyz(49.1000, 34.0126, 61.7247)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278CD #78E28D
analogous
#C278E2 #E278CD #E27898
triadic
#E278CD #CDE278 #78CDE2
tetradic
#E278CD #E2C278 #78E28D #7898E2
square
#E278CD #E2C278 #78E28D #7898E2
split-complementary
#E278CD #98E278 #78E2C2
monochromatic
#B8289B #D746BA #E278CD #EDAAE0 #F8DDF2

Accessibility & contrast

On white

2.69
#E278CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#E278CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278CD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278CD#FFFFFF#000000##000000
##E278CD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#95A3CA
Tritanopia (blue-blind)
#EB7D99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e278cd;
/* rgb */ color: rgb(226, 120, 205);
/* oklch */ color: oklch(71.9% 0.166 335.1);
Tailwind
colors: {
  custom: {
    50: '#eda2dc',
    500: '#e278cd',
    950: '#000000',
  },
}
SCSS
$custom: #e278cd;
$custom-light: #eda2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e278cd",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 311.887,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71922,
    "c": 0.16615,
    "h": 335.1
  },
  "luminance": 0.34009
}

Semantic roles & 50–950 ramp

primary
#E278CD
secondary
#CBEBD1
accent
#CC3D19
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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