#ED798B#ED798B

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

Color values

HEX#ED798B
RGBrgb(237, 121, 139)
HSLhsl(351, 76%, 70%)
HSVhsv(351, 49%, 93%)
CMYKcmyk(0%, 48.9%, 41.4%, 7.1%)
CIE-LABlab(64.60, 46.35, 11.11)
CIE-LCHlch(64.60, 47.66, 13.48°)
OKLaboklab(71.28% 0.1404 0.0289)
OKLCHoklch(71.28% 0.143 11.6)
XYZxyz(46.4253, 33.5480, 28.4515)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED798B #79EDDB
analogous
#ED79C5 #ED798B #EDA179
triadic
#ED798B #8BED79 #798BED
tetradic
#ED798B #C5ED79 #79EDDB #A179ED
square
#ED798B #C5ED79 #79EDDB #A179ED
split-complementary
#ED798B #79EDA1 #79C5ED
monochromatic
#D01C38 #E6435C #ED798B #F4AFBA #FBE4E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ED798B#FFFFFF#000000##000000
##ED798B1.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)
#908F8B
Deuteranopia (green-blind)
#ADA589
Tritanopia (blue-blind)
#FF6C80
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ed798b;
/* rgb */ color: rgb(237, 121, 139);
/* oklch */ color: oklch(71.3% 0.143 11.6);
Tailwind
colors: {
  custom: {
    50: '#f6a2ac',
    500: '#ed798b',
    950: '#000000',
  },
}
SCSS
$custom: #ed798b;
$custom-light: #f6a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ed798b",
  "rgb": {
    "r": 237,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 350.69,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.14337,
    "h": 11.6
  },
  "luminance": 0.33543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED798B

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

Preview Lab → · Contrast checker → · Palette generator →

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