#E04272#E04272

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

Color values

HEX#E04272
RGBrgb(224, 66, 114)
HSLhsl(342, 72%, 57%)
HSVhsv(342, 71%, 88%)
CMYKcmyk(0%, 70.5%, 49.1%, 12.2%)
CIE-LABlab(52.91, 63.83, 8.88)
CIE-LCHlch(52.91, 64.44, 7.92°)
OKLaboklab(61.93% 0.1946 0.0232)
OKLCHoklch(61.93% 0.196 6.8)
XYZxyz(35.7290, 20.9634, 18.0812)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04272 #42E0B0
analogous
#E042C1 #E04272 #E06142
triadic
#E04272 #72E042 #4272E0
tetradic
#E04272 #C1E042 #42E0B0 #6142E0
square
#E04272 #C1E042 #42E0B0 #6142E0
split-complementary
#E04272 #42E061 #42C1E0
monochromatic
#90183C #C52052 #E04272 #E97799 #F1ABC0

Accessibility & contrast

On white

4.04
#E04272 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E04272#FFFFFF#000000##000000
##E042721.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676A73
Deuteranopia (green-blind)
#918A6E
Tritanopia (blue-blind)
#F42356
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e04272;
/* rgb */ color: rgb(224, 66, 114);
/* oklch */ color: oklch(61.9% 0.196 6.8);
Tailwind
colors: {
  custom: {
    50: '#f0829a',
    500: '#e04272',
    950: '#000000',
  },
}
SCSS
$custom: #e04272;
$custom-light: #f0829a;
$custom-dark: #000000;
JSON
{
  "hex": "#e04272",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 341.772,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.19598,
    "h": 6.8
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#E04272
secondary
#9FDFCC
accent
#EFB739
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0E
muted
#867C7E

Preview Lab

Preview with #E04272

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

Preview Lab → · Contrast checker → · Palette generator →

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