#E271C2#E271C2

#E271C2 is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.5% C 0.169 H 339.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#E271C2
RGBrgb(226, 113, 194)
HSLhsl(317, 66%, 66%)
HSVhsv(317, 50%, 89%)
CMYKcmyk(0%, 50%, 14.2%, 11.4%)
CIE-LABlab(63.24, 53.85, -22.37)
CIE-LCHlch(63.24, 58.31, 337.44°)
OKLaboklab(70.49% 0.1582 -0.06)
OKLCHoklch(70.49% 0.169 339.2)
XYZxyz(47.0073, 31.8775, 54.7056)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271C2 #71E291
analogous
#CA71E2 #E271C2 #E2718A
triadic
#E271C2 #C2E271 #71C2E2
tetradic
#E271C2 #E2CA71 #71E291 #718AE2
square
#E271C2 #E2CA71 #71E291 #718AE2
split-complementary
#E271C2 #8AE271 #71E2CA
monochromatic
#B4258B #D83EAC #E271C2 #ECA4D8 #F7D7EE

Accessibility & contrast

On white

2.85
#E271C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#E271C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271C2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271C2#FFFFFF#000000##000000
##E271C21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC5
Deuteranopia (green-blind)
#95A0BF
Tritanopia (blue-blind)
#ED7491
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e271c2;
/* rgb */ color: rgb(226, 113, 194);
/* oklch */ color: oklch(70.5% 0.169 339.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ed4',
    500: '#e271c2',
    950: '#000000',
  },
}
SCSS
$custom: #e271c2;
$custom-light: #ed9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#e271c2",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 316.991,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.16916,
    "h": 339.2
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#E271C2
secondary
#C5EACF
accent
#CE4B18
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170F14
muted
#857E83

Preview Lab

Preview with #E271C2

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

Preview Lab → · Contrast checker → · Palette generator →

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