#E271AF#E271AF

#E271AF is a light, vivid pink. Relative luminance 0.311; OKLCH L 69.8% C 0.157 H 347.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#E271AF
RGBrgb(226, 113, 175)
HSLhsl(327, 66%, 66%)
HSVhsv(327, 50%, 89%)
CMYKcmyk(0%, 50%, 22.6%, 11.4%)
CIE-LABlab(62.57, 51.04, -12.59)
CIE-LCHlch(62.57, 52.57, 346.14°)
OKLaboklab(69.78% 0.1531 -0.033)
OKLCHoklch(69.78% 0.157 347.8)
XYZxyz(45.0082, 31.0778, 44.1773)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271AF #71E2A4
analogous
#DD71E2 #E271AF #E27177
triadic
#E271AF #AFE271 #71AFE2
tetradic
#E271AF #E2DD71 #71E2A4 #7177E2
square
#E271AF #E2DD71 #71E2A4 #7177E2
split-complementary
#E271AF #77E271 #71E2DD
monochromatic
#B42573 #D83E92 #E271AF #ECA4CC #F7D7E8

Accessibility & contrast

On white

2.91
#E271AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#E271AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271AF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271AF#FFFFFF#000000##000000
##E271AF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#9A9FAC
Tritanopia (blue-blind)
#EF6E88
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e271af;
/* rgb */ color: rgb(226, 113, 175);
/* oklch */ color: oklch(69.8% 0.157 347.8);
Tailwind
colors: {
  custom: {
    50: '#ee9dc6',
    500: '#e271af',
    950: '#000000',
  },
}
SCSS
$custom: #e271af;
$custom-light: #ee9dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#e271af",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 327.08,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69776,
    "c": 0.15664,
    "h": 347.8
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#E271AF
secondary
#C5EAD6
accent
#CE6A18
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #E271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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