#ED797F#ED797F

#ED797F is a light, vivid red. Relative luminance 0.332; OKLCH L 71.0% C 0.143 H 18.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#ED797F
RGBrgb(237, 121, 127)
HSLhsl(357, 76%, 70%)
HSVhsv(357, 49%, 93%)
CMYKcmyk(0%, 48.9%, 46.4%, 7.1%)
CIE-LABlab(64.34, 45.14, 17.55)
CIE-LCHlch(64.34, 48.43, 21.25°)
OKLaboklab(70.99% 0.1359 0.0446)
OKLCHoklch(70.99% 0.143 18.2)
XYZxyz(45.5962, 33.2163, 24.0847)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED797F #79EDE7
analogous
#ED79B9 #ED797F #EDAD79
triadic
#ED797F #7FED79 #797FED
tetradic
#ED797F #B9ED79 #79EDE7 #AD79ED
square
#ED797F #B9ED79 #79EDE7 #AD79ED
split-complementary
#ED797F #79EDAD #79B9ED
monochromatic
#D01C25 #E6434B #ED797F #F4AFB3 #FBE4E5

Accessibility & contrast

On white

2.75
#ED797F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#ED797F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED797F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED797F#FFFFFF#000000##000000
##ED797F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7F
Deuteranopia (green-blind)
#AFA57D
Tritanopia (blue-blind)
#FF6A7C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ed797f;
/* rgb */ color: rgb(237, 121, 127);
/* oklch */ color: oklch(71.0% 0.143 18.2);
Tailwind
colors: {
  custom: {
    50: '#f7a2a4',
    500: '#ed797f',
    950: '#000000',
  },
}
SCSS
$custom: #ed797f;
$custom-light: #f7a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed797f",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.897,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7099,
    "c": 0.143,
    "h": 18.2
  },
  "luminance": 0.33212
}

Semantic roles & 50–950 ramp

primary
#ED797F
secondary
#D1F1EF
accent
#D9CE0D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #ED797F

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

Preview Lab → · Contrast checker → · Palette generator →

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