#ED798F#ED798F

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

Color values

HEX#ED798F
RGBrgb(237, 121, 143)
HSLhsl(349, 76%, 70%)
HSVhsv(349, 49%, 93%)
CMYKcmyk(0%, 48.9%, 39.7%, 7.1%)
CIE-LABlab(64.70, 46.78, 8.96)
CIE-LCHlch(64.70, 47.63, 10.85°)
OKLaboklab(71.38% 0.1419 0.0236)
OKLCHoklch(71.38% 0.144 9.4)
XYZxyz(46.7230, 33.6670, 30.0190)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED798F #79EDD7
analogous
#ED79C9 #ED798F #ED9D79
triadic
#ED798F #8FED79 #798FED
tetradic
#ED798F #C9ED79 #79EDD7 #9D79ED
square
#ED798F #C9ED79 #79EDD7 #9D79ED
split-complementary
#ED798F #79ED9D #79C9ED
monochromatic
#D01C3E #E64362 #ED798F #F4AFBC #FBE4E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ED798F#FFFFFF#000000##000000
##ED798F1.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)
#8F8F8F
Deuteranopia (green-blind)
#ACA68D
Tritanopia (blue-blind)
#FF6D81
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ed798f;
/* rgb */ color: rgb(237, 121, 143);
/* oklch */ color: oklch(71.4% 0.144 9.4);
Tailwind
colors: {
  custom: {
    50: '#f6a2af',
    500: '#ed798f',
    950: '#000000',
  },
}
SCSS
$custom: #ed798f;
$custom-light: #f6a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#ed798f",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 348.621,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.14386,
    "h": 9.4
  },
  "luminance": 0.33662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED798F

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

Preview Lab → · Contrast checker → · Palette generator →

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