#E271A2#E271A2

#E271A2 is a light, vivid pink. Relative luminance 0.306; OKLCH L 69.3% C 0.150 H 354.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#E271A2
RGBrgb(226, 113, 162)
HSLhsl(334, 66%, 66%)
HSVhsv(334, 50%, 89%)
CMYKcmyk(0%, 50%, 28.3%, 11.4%)
CIE-LABlab(62.16, 49.28, -5.77)
CIE-LCHlch(62.16, 49.62, 353.32°)
OKLaboklab(69.33% 0.1491 -0.0146)
OKLCHoklch(69.33% 0.15 354.4)
XYZxyz(43.7924, 30.5915, 37.7738)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271A2 #71E2B1
analogous
#E271DB #E271A2 #E27971
triadic
#E271A2 #A2E271 #71A2E2
tetradic
#E271A2 #DBE271 #71E2B1 #7971E2
square
#E271A2 #DBE271 #71E2B1 #7971E2
split-complementary
#E271A2 #71E279 #71DBE2
monochromatic
#B42563 #D83E81 #E271A2 #ECA4C3 #F7D7E5

Accessibility & contrast

On white

2.95
#E271A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#E271A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271A2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271A2#FFFFFF#000000##000000
##E271A21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA4
Deuteranopia (green-blind)
#9D9E9F
Tritanopia (blue-blind)
#F16B83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e271a2;
/* rgb */ color: rgb(226, 113, 162);
/* oklch */ color: oklch(69.3% 0.150 354.4);
Tailwind
colors: {
  custom: {
    50: '#ee9dbd',
    500: '#e271a2',
    950: '#000000',
  },
}
SCSS
$custom: #e271a2;
$custom-light: #ee9dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#e271a2",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 333.982,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.14985,
    "h": 354.4
  },
  "luminance": 0.30588
}

Semantic roles & 50–950 ramp

primary
#E271A2
secondary
#C5EADA
accent
#CE7F18
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #E271A2

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

Preview Lab → · Contrast checker → · Palette generator →

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