#E02740#E02740

#E02740 is a mid, highly saturated red. Relative luminance 0.177; OKLCH L 58.8% C 0.216 H 21.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#E02740
RGBrgb(224, 39, 64)
HSLhsl(352, 75%, 52%)
HSVhsv(352, 83%, 88%)
CMYKcmyk(0%, 82.6%, 71.4%, 12.2%)
CIE-LABlab(49.10, 68.67, 33.85)
CIE-LCHlch(49.10, 76.56, 26.24°)
OKLaboklab(58.8% 0.2016 0.0774)
OKLCHoklch(58.8% 0.216 21)
XYZxyz(32.3952, 17.6737, 6.5551)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E02740 #27E0C7
analogous
#E0279D #E02740 #E06B27
triadic
#E02740 #40E027 #2740E0
tetradic
#E02740 #9DE027 #27E0C7 #6B27E0
square
#E02740 #9DE027 #27E0C7 #6B27E0
split-complementary
#E02740 #27E06B #279DE0
monochromatic
#7B1220 #B0192E #E02740 #E85D6F #EF929F

Accessibility & contrast

On white

4.63
#E02740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#E02740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #E02740
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E02740#FFFFFF#000000##FFFFFF
##E027401.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3F
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#F60033
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #e02740;
/* rgb */ color: rgb(224, 39, 64);
/* oklch */ color: oklch(58.8% 0.216 21.0);
Tailwind
colors: {
  custom: {
    50: '#f37674',
    500: '#e02740',
    950: '#000000',
  },
}
SCSS
$custom: #e02740;
$custom-light: #f37674;
$custom-dark: #000000;
JSON
{
  "hex": "#e02740",
  "rgb": {
    "r": 224,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 351.892,
    "s": 74.899,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.2159,
    "h": 21
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#E02740
secondary
#89DACF
accent
#F2D836
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#190A08
muted
#867C7B

Preview Lab

Preview with #E02740

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

Preview Lab → · Contrast checker → · Palette generator →

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