#EB797D#EB797D

#EB797D is a light, vivid red. Relative luminance 0.328; OKLCH L 70.7% C 0.141 H 19.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#EB797D
RGBrgb(235, 121, 125)
HSLhsl(358, 74%, 70%)
HSVhsv(358, 49%, 92%)
CMYKcmyk(0%, 48.5%, 46.8%, 7.8%)
CIE-LABlab(64.02, 44.23, 18.21)
CIE-LCHlch(64.02, 47.83, 22.37°)
OKLaboklab(70.68% 0.133 0.0461)
OKLCHoklch(70.68% 0.141 19.1)
XYZxyz(44.8029, 32.8222, 23.3739)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB797D #79EBE7
analogous
#EB79B6 #EB797D #EBAE79
triadic
#EB797D #7DEB79 #797DEB
tetradic
#EB797D #B6EB79 #79EBE7 #AE79EB
square
#EB797D #B6EB79 #79EBE7 #AE79EB
split-complementary
#EB797D #79EBAE #79B6EB
monochromatic
#CB1E24 #E34449 #EB797D #F3AEB1 #FBE4E4

Accessibility & contrast

On white

2.78
#EB797D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#EB797D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB797D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB797D#FFFFFF#000000##000000
##EB797D1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7D
Deuteranopia (green-blind)
#AEA47B
Tritanopia (blue-blind)
#FE6A7B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #eb797d;
/* rgb */ color: rgb(235, 121, 125);
/* oklch */ color: oklch(70.7% 0.141 19.1);
Tailwind
colors: {
  custom: {
    50: '#f6a2a2',
    500: '#eb797d',
    950: '#000000',
  },
}
SCSS
$custom: #eb797d;
$custom-light: #f6a2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb797d",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.895,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70678,
    "c": 0.14078,
    "h": 19.1
  },
  "luminance": 0.32818
}

Semantic roles & 50–950 ramp

primary
#EB797D
secondary
#D0F0EF
accent
#D6CF0F
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #EB797D

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

Preview Lab → · Contrast checker → · Palette generator →

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