#E271BD#E271BD

#E271BD is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.3% C 0.166 H 341.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#E271BD
RGBrgb(226, 113, 189)
HSLhsl(320, 66%, 66%)
HSVhsv(320, 50%, 89%)
CMYKcmyk(0%, 50%, 16.4%, 11.4%)
CIE-LABlab(63.06, 53.09, -19.82)
CIE-LCHlch(63.06, 56.67, 339.53°)
OKLaboklab(70.3% 0.1569 -0.0529)
OKLCHoklch(70.3% 0.166 341.4)
XYZxyz(46.4552, 31.6566, 51.7978)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271BD #71E296
analogous
#CF71E2 #E271BD #E27185
triadic
#E271BD #BDE271 #71BDE2
tetradic
#E271BD #E2CF71 #71E296 #7185E2
square
#E271BD #E2CF71 #71E296 #7185E2
split-complementary
#E271BD #85E271 #71E2CF
monochromatic
#B42585 #D83EA5 #E271BD #ECA4D5 #F7D7EC

Accessibility & contrast

On white

2.86
#E271BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#E271BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271BD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271BD#FFFFFF#000000##000000
##E271BD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DC0
Deuteranopia (green-blind)
#969FBA
Tritanopia (blue-blind)
#EE728E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e271bd;
/* rgb */ color: rgb(226, 113, 189);
/* oklch */ color: oklch(70.3% 0.166 341.4);
Tailwind
colors: {
  custom: {
    50: '#ed9dd1',
    500: '#e271bd',
    950: '#000000',
  },
}
SCSS
$custom: #e271bd;
$custom-light: #ed9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#e271bd",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 319.646,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70298,
    "c": 0.16561,
    "h": 341.4
  },
  "luminance": 0.31653
}

Semantic roles & 50–950 ramp

primary
#E271BD
secondary
#C5EAD1
accent
#CE5318
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F14
muted
#857E82

Preview Lab

Preview with #E271BD

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

Preview Lab → · Contrast checker → · Palette generator →

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