#EB797E#EB797E

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

Color values

HEX#EB797E
RGBrgb(235, 121, 126)
HSLhsl(357, 74%, 70%)
HSVhsv(357, 49%, 92%)
CMYKcmyk(0%, 48.5%, 46.4%, 7.8%)
CIE-LABlab(64.04, 44.32, 17.67)
CIE-LCHlch(64.04, 47.72, 21.73°)
OKLaboklab(70.7% 0.1334 0.0449)
OKLCHoklch(70.7% 0.141 18.6)
XYZxyz(44.8671, 32.8479, 23.7120)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB797E #79EBE6
analogous
#EB79B7 #EB797E #EBAD79
triadic
#EB797E #7EEB79 #797EEB
tetradic
#EB797E #B7EB79 #79EBE6 #AD79EB
square
#EB797E #B7EB79 #79EBE6 #AD79EB
split-complementary
#EB797E #79EBAD #79B7EB
monochromatic
#CB1E26 #E3444B #EB797E #F3AEB1 #FBE4E5

Accessibility & contrast

On white

2.77
#EB797E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#EB797E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB797E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB797E#FFFFFF#000000##000000
##EB797E1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7E
Deuteranopia (green-blind)
#AEA47C
Tritanopia (blue-blind)
#FE6A7B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #eb797e;
/* rgb */ color: rgb(235, 121, 126);
/* oklch */ color: oklch(70.7% 0.141 18.6);
Tailwind
colors: {
  custom: {
    50: '#f5a2a3',
    500: '#eb797e',
    950: '#000000',
  },
}
SCSS
$custom: #eb797e;
$custom-light: #f5a2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#eb797e",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 357.368,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.14073,
    "h": 18.6
  },
  "luminance": 0.32843
}

Semantic roles & 50–950 ramp

primary
#EB797E
secondary
#D0F0EF
accent
#D6CD0F
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EB797E

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

Preview Lab → · Contrast checker → · Palette generator →

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