#ED798E#ED798E

#ED798E is a light, vivid red. Relative luminance 0.336; OKLCH L 71.4% C 0.144 H 10.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#ED798E
RGBrgb(237, 121, 142)
HSLhsl(349, 76%, 70%)
HSVhsv(349, 49%, 93%)
CMYKcmyk(0%, 48.9%, 40.1%, 7.1%)
CIE-LABlab(64.67, 46.67, 9.50)
CIE-LCHlch(64.67, 47.62, 11.51°)
OKLaboklab(71.36% 0.1416 0.0249)
OKLCHoklch(71.36% 0.144 10)
XYZxyz(46.6475, 33.6368, 29.6218)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED798E #79EDD8
analogous
#ED79C8 #ED798E #ED9E79
triadic
#ED798E #8EED79 #798EED
tetradic
#ED798E #C8ED79 #79EDD8 #9E79ED
square
#ED798E #C8ED79 #79EDD8 #9E79ED
split-complementary
#ED798E #79ED9E #79C8ED
monochromatic
#D01C3C #E64361 #ED798E #F4AFBB #FBE4E8

Accessibility & contrast

On white

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

On black

7.73
#ED798E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED798E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED798E#FFFFFF#000000##000000
##ED798E1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8E
Deuteranopia (green-blind)
#ACA58C
Tritanopia (blue-blind)
#FF6D81
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ed798e;
/* rgb */ color: rgb(237, 121, 142);
/* oklch */ color: oklch(71.4% 0.144 10.0);
Tailwind
colors: {
  custom: {
    50: '#f6a2ae',
    500: '#ed798e',
    950: '#000000',
  },
}
SCSS
$custom: #ed798e;
$custom-light: #f6a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ed798e",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 349.138,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71357,
    "c": 0.14373,
    "h": 10
  },
  "luminance": 0.33632
}

Semantic roles & 50–950 ramp

primary
#ED798E
secondary
#D1F1EB
accent
#D9B40D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #ED798E

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

Preview Lab → · Contrast checker → · Palette generator →

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