#E271C8#E271C8

#E271C8 is a light, vivid pink. Relative luminance 0.321; OKLCH L 70.7% C 0.174 H 336.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#E271C8
RGBrgb(226, 113, 200)
HSLhsl(314, 66%, 66%)
HSVhsv(314, 50%, 89%)
CMYKcmyk(0%, 50%, 11.5%, 11.4%)
CIE-LABlab(63.47, 54.79, -25.41)
CIE-LCHlch(63.47, 60.40, 335.12°)
OKLaboklab(70.74% 0.1595 -0.0685)
OKLCHoklch(70.74% 0.174 336.7)
XYZxyz(47.6948, 32.1524, 58.3263)
Luminance0.3215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271C8 #71E28B
analogous
#C471E2 #E271C8 #E27190
triadic
#E271C8 #C8E271 #71C8E2
tetradic
#E271C8 #E2C471 #71E28B #7190E2
square
#E271C8 #E2C471 #71E28B #7190E2
split-complementary
#E271C8 #90E271 #71E2C4
monochromatic
#B42593 #D83EB4 #E271C8 #ECA4DC #F7D7EF

Accessibility & contrast

On white

2.83
#E271C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#E271C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271C8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271C8#FFFFFF#000000##000000
##E271C81.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCB
Deuteranopia (green-blind)
#93A0C5
Tritanopia (blue-blind)
#EC7593
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e271c8;
/* rgb */ color: rgb(226, 113, 200);
/* oklch */ color: oklch(70.7% 0.174 336.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ed9',
    500: '#e271c8',
    950: '#000000',
  },
}
SCSS
$custom: #e271c8;
$custom-light: #ed9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#e271c8",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 313.805,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.17363,
    "h": 336.7
  },
  "luminance": 0.32149
}

Semantic roles & 50–950 ramp

primary
#E271C8
secondary
#C5EACE
accent
#CE4218
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170F14
muted
#857E83

Preview Lab

Preview with #E271C8

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

Preview Lab → · Contrast checker → · Palette generator →

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