#E040B3#E040B3

#E040B3 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.226 H 341.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#E040B3
RGBrgb(224, 64, 179)
HSLhsl(317, 72%, 56%)
HSVhsv(317, 71%, 88%)
CMYKcmyk(0%, 71.4%, 20.1%, 12.2%)
CIE-LABlab(54.84, 71.57, -26.72)
CIE-LCHlch(54.84, 76.40, 339.53°)
OKLaboklab(64.06% 0.2144 -0.0718)
OKLCHoklch(64.06% 0.226 341.5)
XYZxyz(40.7118, 22.7728, 44.8906)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B3 #40E06D
analogous
#BD40E0 #E040B3 #E04063
triadic
#E040B3 #B3E040 #40B3E0
tetradic
#E040B3 #E0BD40 #40E06D #4063E0
square
#E040B3 #E0BD40 #40E06D #4063E0
split-complementary
#E040B3 #63E040 #40E0BD
monochromatic
#8E176D #C32095 #E040B3 #E975C8 #F1A9DD

Accessibility & contrast

On white

3.78
#E040B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#E040B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B3#FFFFFF#000000##000000
##E040B31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B6
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#EE4374
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e040b3;
/* rgb */ color: rgb(224, 64, 179);
/* oklch */ color: oklch(64.1% 0.226 341.5);
Tailwind
colors: {
  custom: {
    50: '#ee82ca',
    500: '#e040b3',
    950: '#000000',
  },
}
SCSS
$custom: #e040b3;
$custom-light: #ee82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b3",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 316.875,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.22607,
    "h": 341.5
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#E040B3
secondary
#9DDFB0
accent
#EF6C39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E040B3

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

Preview Lab → · Contrast checker → · Palette generator →

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