#ED798A#ED798A

#ED798A is a light, vivid red. Relative luminance 0.335; OKLCH L 71.3% C 0.143 H 12.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#ED798A
RGBrgb(237, 121, 138)
HSLhsl(351, 76%, 70%)
HSVhsv(351, 49%, 93%)
CMYKcmyk(0%, 48.9%, 41.8%, 7.1%)
CIE-LABlab(64.58, 46.24, 11.64)
CIE-LCHlch(64.58, 47.68, 14.13°)
OKLaboklab(71.25% 0.1401 0.0302)
OKLCHoklch(71.25% 0.143 12.2)
XYZxyz(46.3526, 33.5189, 28.0685)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED798A #79EDDC
analogous
#ED79C4 #ED798A #EDA279
triadic
#ED798A #8AED79 #798AED
tetradic
#ED798A #C4ED79 #79EDDC #A279ED
square
#ED798A #C4ED79 #79EDDC #A279ED
split-complementary
#ED798A #79EDA2 #79C4ED
monochromatic
#D01C36 #E6435B #ED798A #F4AFB9 #FBE4E7

Accessibility & contrast

On white

2.73
#ED798A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#ED798A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED798A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED798A#FFFFFF#000000##000000
##ED798A1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E8A
Deuteranopia (green-blind)
#ADA588
Tritanopia (blue-blind)
#FF6C7F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ed798a;
/* rgb */ color: rgb(237, 121, 138);
/* oklch */ color: oklch(71.3% 0.143 12.2);
Tailwind
colors: {
  custom: {
    50: '#f7a2ac',
    500: '#ed798a',
    950: '#000000',
  },
}
SCSS
$custom: #ed798a;
$custom-light: #f7a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ed798a",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 351.207,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71254,
    "c": 0.14329,
    "h": 12.2
  },
  "luminance": 0.33514
}

Semantic roles & 50–950 ramp

primary
#ED798A
secondary
#D1F1EC
accent
#D9BB0D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #ED798A

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

Preview Lab → · Contrast checker → · Palette generator →

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