#E04271#E04271

#E04271 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.196 H 7.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#E04271
RGBrgb(224, 66, 113)
HSLhsl(342, 72%, 57%)
HSVhsv(342, 71%, 88%)
CMYKcmyk(0%, 70.5%, 49.6%, 12.2%)
CIE-LABlab(52.88, 63.75, 9.44)
CIE-LCHlch(52.88, 64.44, 8.43°)
OKLaboklab(61.91% 0.1943 0.0245)
OKLCHoklch(61.91% 0.196 7.2)
XYZxyz(35.6724, 20.9407, 17.7831)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04271 #42E0B1
analogous
#E042C0 #E04271 #E06242
triadic
#E04271 #71E042 #4271E0
tetradic
#E04271 #C0E042 #42E0B1 #6242E0
square
#E04271 #C0E042 #42E0B1 #6242E0
split-complementary
#E04271 #42E062 #42C0E0
monochromatic
#90183B #C52051 #E04271 #E97799 #F1ABC0

Accessibility & contrast

On white

4.05
#E04271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#E04271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04271
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04271#FFFFFF#000000##000000
##E042711.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#686A72
Deuteranopia (green-blind)
#918A6D
Tritanopia (blue-blind)
#F42355
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e04271;
/* rgb */ color: rgb(224, 66, 113);
/* oklch */ color: oklch(61.9% 0.196 7.2);
Tailwind
colors: {
  custom: {
    50: '#f08299',
    500: '#e04271',
    950: '#000000',
  },
}
SCSS
$custom: #e04271;
$custom-light: #f08299;
$custom-dark: #000000;
JSON
{
  "hex": "#e04271",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 342.152,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.19579,
    "h": 7.2
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#E04271
secondary
#9FDFCC
accent
#EFB939
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0D
muted
#867C7E

Preview Lab

Preview with #E04271

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

Preview Lab → · Contrast checker → · Palette generator →

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