#E2287F#E2287F

#E2287F is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.7% C 0.225 H 359.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#E2287F
RGBrgb(226, 40, 127)
HSLhsl(332, 76%, 52%)
HSVhsv(332, 82%, 89%)
CMYKcmyk(0%, 82.3%, 43.8%, 11.4%)
CIE-LABlab(50.95, 73.05, -1.74)
CIE-LCHlch(50.95, 73.07, 358.64°)
OKLaboklab(60.67% 0.2249 -0.0037)
OKLCHoklch(60.67% 0.225 359.1)
XYZxyz(35.9565, 19.2236, 21.8917)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2287F #28E28B
analogous
#E228DC #E2287F #E22E28
triadic
#E2287F #7FE228 #287FE2
tetradic
#E2287F #DCE228 #28E28B #2E28E2
square
#E2287F #DCE228 #28E28B #2E28E2
split-complementary
#E2287F #28E22E #28DCE2
monochromatic
#7F1144 #B41861 #E2287F #E95E9F #F194BF

Accessibility & contrast

On white

4.34
#E2287F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#E2287F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E2287F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2287F#FFFFFF#000000##000000
##E2287F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#F50051
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #e2287f;
/* rgb */ color: rgb(226, 40, 127);
/* oklch */ color: oklch(60.7% 0.225 359.1);
Tailwind
colors: {
  custom: {
    50: '#f178a3',
    500: '#e2287f',
    950: '#000000',
  },
}
SCSS
$custom: #e2287f;
$custom-light: #f178a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2287f",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 331.935,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.22492,
    "h": 359.1
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#E2287F
secondary
#8ADCB6
accent
#F39A35
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#180A0F
muted
#867C7F

Preview Lab

Preview with #E2287F

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

Preview Lab → · Contrast checker → · Palette generator →

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