#E271B3#E271B3

#E271B3 is a light, vivid pink. Relative luminance 0.312; OKLCH L 69.9% C 0.159 H 345.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#E271B3
RGBrgb(226, 113, 179)
HSLhsl(325, 66%, 66%)
HSVhsv(325, 50%, 89%)
CMYKcmyk(0%, 50%, 20.8%, 11.4%)
CIE-LABlab(62.71, 51.61, -14.67)
CIE-LCHlch(62.71, 53.66, 344.13°)
OKLaboklab(69.92% 0.1543 -0.0387)
OKLCHoklch(69.92% 0.159 345.9)
XYZxyz(45.4069, 31.2373, 46.2770)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271B3 #71E2A0
analogous
#D971E2 #E271B3 #E2717B
triadic
#E271B3 #B3E271 #71B3E2
tetradic
#E271B3 #E2D971 #71E2A0 #717BE2
square
#E271B3 #E2D971 #71E2A0 #717BE2
split-complementary
#E271B3 #7BE271 #71E2D9
monochromatic
#B42578 #D83E98 #E271B3 #ECA4CE #F7D7E9

Accessibility & contrast

On white

2.90
#E271B3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#E271B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271B3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271B3#FFFFFF#000000##000000
##E271B31.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#999FB0
Tritanopia (blue-blind)
#EF708A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e271b3;
/* rgb */ color: rgb(226, 113, 179);
/* oklch */ color: oklch(69.9% 0.159 345.9);
Tailwind
colors: {
  custom: {
    50: '#ee9dc9',
    500: '#e271b3',
    950: '#000000',
  },
}
SCSS
$custom: #e271b3;
$custom-light: #ee9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#e271b3",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 324.956,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.15904,
    "h": 345.9
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

primary
#E271B3
secondary
#C5EAD4
accent
#CE6318
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #E271B3

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

Preview Lab → · Contrast checker → · Palette generator →

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