#EB797F#EB797F

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

Color values

HEX#EB797F
RGBrgb(235, 121, 127)
HSLhsl(357, 74%, 70%)
HSVhsv(357, 49%, 92%)
CMYKcmyk(0%, 48.5%, 46%, 7.8%)
CIE-LABlab(64.06, 44.42, 17.13)
CIE-LCHlch(64.06, 47.61, 21.09°)
OKLaboklab(70.72% 0.1338 0.0436)
OKLCHoklch(70.72% 0.141 18)
XYZxyz(44.9320, 32.8738, 24.0535)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB797F #79EBE5
analogous
#EB79B8 #EB797F #EBAC79
triadic
#EB797F #7FEB79 #797FEB
tetradic
#EB797F #B8EB79 #79EBE5 #AC79EB
square
#EB797F #B8EB79 #79EBE5 #AC79EB
split-complementary
#EB797F #79EBAC #79B8EB
monochromatic
#CB1E27 #E3444C #EB797F #F3AEB2 #FBE4E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB797F#FFFFFF#000000##000000
##EB797F1.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)
#918D7F
Deuteranopia (green-blind)
#AEA47D
Tritanopia (blue-blind)
#FE6A7C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #eb797f;
/* rgb */ color: rgb(235, 121, 127);
/* oklch */ color: oklch(70.7% 0.141 18.0);
Tailwind
colors: {
  custom: {
    50: '#f5a2a4',
    500: '#eb797f',
    950: '#000000',
  },
}
SCSS
$custom: #eb797f;
$custom-light: #f5a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb797f",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.842,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.14069,
    "h": 18
  },
  "luminance": 0.32869
}

Semantic roles & 50–950 ramp

primary
#EB797F
secondary
#D0F0EE
accent
#D6CC0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EB797F

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

Preview Lab → · Contrast checker → · Palette generator →

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