#ED798C#ED798C

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

Color values

HEX#ED798C
RGBrgb(237, 121, 140)
HSLhsl(350, 76%, 70%)
HSVhsv(350, 49%, 93%)
CMYKcmyk(0%, 48.9%, 40.9%, 7.1%)
CIE-LABlab(64.63, 46.45, 10.57)
CIE-LCHlch(64.63, 47.64, 12.82°)
OKLaboklab(71.3% 0.1408 0.0276)
OKLCHoklch(71.3% 0.143 11.1)
XYZxyz(46.4987, 33.5773, 28.8381)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED798C #79EDDA
analogous
#ED79C6 #ED798C #EDA079
triadic
#ED798C #8CED79 #798CED
tetradic
#ED798C #C6ED79 #79EDDA #A079ED
square
#ED798C #C6ED79 #79EDDA #A079ED
split-complementary
#ED798C #79EDA0 #79C6ED
monochromatic
#D01C39 #E6435E #ED798C #F4AFBA #FBE4E8

Accessibility & contrast

On white

2.72
#ED798C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#ED798C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED798C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED798C#FFFFFF#000000##000000
##ED798C1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8C
Deuteranopia (green-blind)
#ADA58A
Tritanopia (blue-blind)
#FF6C80
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ed798c;
/* rgb */ color: rgb(237, 121, 140);
/* oklch */ color: oklch(71.3% 0.143 11.1);
Tailwind
colors: {
  custom: {
    50: '#f6a2ad',
    500: '#ed798c',
    950: '#000000',
  },
}
SCSS
$custom: #ed798c;
$custom-light: #f6a2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ed798c",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 350.172,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71305,
    "c": 0.14349,
    "h": 11.1
  },
  "luminance": 0.33573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED798C

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

Preview Lab → · Contrast checker → · Palette generator →

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