#EA797F#EA797F

#EA797F is a light, vivid red. Relative luminance 0.327; OKLCH L 70.6% C 0.140 H 18.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#EA797F
RGBrgb(234, 121, 127)
HSLhsl(357, 73%, 70%)
HSVhsv(357, 48%, 92%)
CMYKcmyk(0%, 48.3%, 45.7%, 8.2%)
CIE-LABlab(63.92, 44.06, 16.92)
CIE-LCHlch(63.92, 47.20, 21.00°)
OKLaboklab(70.59% 0.1327 0.0431)
OKLCHoklch(70.59% 0.14 18)
XYZxyz(44.6027, 32.7040, 24.0381)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA797F #79EAE4
analogous
#EA79B8 #EA797F #EAAC79
triadic
#EA797F #7FEA79 #797FEA
tetradic
#EA797F #B8EA79 #79EAE4 #AC79EA
square
#EA797F #B8EA79 #79EAE4 #AC79EA
split-complementary
#EA797F #79EAAC #79B8EA
monochromatic
#C92029 #E2444C #EA797F #F2AEB2 #FBE3E4

Accessibility & contrast

On white

2.79
#EA797F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#EA797F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA797F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA797F#FFFFFF#000000##000000
##EA797F1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7F
Deuteranopia (green-blind)
#ADA47D
Tritanopia (blue-blind)
#FD6A7C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ea797f;
/* rgb */ color: rgb(234, 121, 127);
/* oklch */ color: oklch(70.6% 0.140 18.0);
Tailwind
colors: {
  custom: {
    50: '#f5a2a4',
    500: '#ea797f',
    950: '#000000',
  },
}
SCSS
$custom: #ea797f;
$custom-light: #f5a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea797f",
  "rgb": {
    "r": 234,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.814,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.13953,
    "h": 18
  },
  "luminance": 0.32699
}

Semantic roles & 50–950 ramp

primary
#EA797F
secondary
#CFF0EE
accent
#D5CB11
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EA797F

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

Preview Lab → · Contrast checker → · Palette generator →

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