#EB798C#EB798C

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

Color values

HEX#EB798C
RGBrgb(235, 121, 140)
HSLhsl(350, 74%, 70%)
HSVhsv(350, 49%, 92%)
CMYKcmyk(0%, 48.5%, 40.4%, 7.8%)
CIE-LABlab(64.35, 45.75, 10.14)
CIE-LCHlch(64.35, 46.86, 12.50°)
OKLaboklab(71.04% 0.1387 0.0265)
OKLCHoklch(71.04% 0.141 10.8)
XYZxyz(45.8345, 33.2348, 28.8070)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB798C #79EBD8
analogous
#EB79C5 #EB798C #EB9F79
triadic
#EB798C #8CEB79 #798CEB
tetradic
#EB798C #C5EB79 #79EBD8 #9F79EB
square
#EB798C #C5EB79 #79EBD8 #9F79EB
split-complementary
#EB798C #79EB9F #79C5EB
monochromatic
#CB1E3B #E3445E #EB798C #F3AEBA #FBE4E7

Accessibility & contrast

On white

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

On black

7.65
#EB798C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB798C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB798C#FFFFFF#000000##000000
##EB798C1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8C
Deuteranopia (green-blind)
#ACA48A
Tritanopia (blue-blind)
#FD6D80
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #eb798c;
/* rgb */ color: rgb(235, 121, 140);
/* oklch */ color: oklch(71.0% 0.141 10.8);
Tailwind
colors: {
  custom: {
    50: '#f5a2ad',
    500: '#eb798c',
    950: '#000000',
  },
}
SCSS
$custom: #eb798c;
$custom-light: #f5a2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#eb798c",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 350,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71041,
    "c": 0.14122,
    "h": 10.8
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

primary
#EB798C
secondary
#D0F0EB
accent
#D6B50F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EB798C

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

Preview Lab → · Contrast checker → · Palette generator →

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