#E271BF#E271BF

#E271BF is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.4% C 0.167 H 340.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#E271BF
RGBrgb(226, 113, 191)
HSLhsl(319, 66%, 66%)
HSVhsv(319, 50%, 89%)
CMYKcmyk(0%, 50%, 15.5%, 11.4%)
CIE-LABlab(63.13, 53.39, -20.84)
CIE-LCHlch(63.13, 57.31, 338.67°)
OKLaboklab(70.38% 0.1574 -0.0557)
OKLCHoklch(70.38% 0.167 340.5)
XYZxyz(46.6738, 31.7440, 52.9491)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271BF #71E294
analogous
#CD71E2 #E271BF #E27187
triadic
#E271BF #BFE271 #71BFE2
tetradic
#E271BF #E2CD71 #71E294 #7187E2
square
#E271BF #E2CD71 #71E294 #7187E2
split-complementary
#E271BF #87E271 #71E2CD
monochromatic
#B42588 #D83EA8 #E271BF #ECA4D6 #F7D7ED

Accessibility & contrast

On white

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

On black

7.35
#E271BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271BF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271BF#FFFFFF#000000##000000
##E271BF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC2
Deuteranopia (green-blind)
#959FBC
Tritanopia (blue-blind)
#ED738F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e271bf;
/* rgb */ color: rgb(226, 113, 191);
/* oklch */ color: oklch(70.4% 0.167 340.5);
Tailwind
colors: {
  custom: {
    50: '#ed9dd2',
    500: '#e271bf',
    950: '#000000',
  },
}
SCSS
$custom: #e271bf;
$custom-light: #ed9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#e271bf",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 318.584,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70376,
    "c": 0.16701,
    "h": 340.5
  },
  "luminance": 0.31741
}

Semantic roles & 50–950 ramp

primary
#E271BF
secondary
#C5EAD0
accent
#CE5018
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F14
muted
#857E82

Preview Lab

Preview with #E271BF

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

Preview Lab → · Contrast checker → · Palette generator →

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