#EB798F#EB798F

#EB798F is a light, vivid red. Relative luminance 0.333; OKLCH L 71.1% C 0.142 H 9.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#EB798F
RGBrgb(235, 121, 143)
HSLhsl(348, 74%, 70%)
HSVhsv(348, 49%, 92%)
CMYKcmyk(0%, 48.5%, 39.1%, 7.8%)
CIE-LABlab(64.42, 46.08, 8.54)
CIE-LCHlch(64.42, 46.86, 10.49°)
OKLaboklab(71.12% 0.1398 0.0225)
OKLCHoklch(71.12% 0.142 9.1)
XYZxyz(46.0588, 33.3245, 29.9879)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB798F #79EBD5
analogous
#EB79C8 #EB798F #EB9C79
triadic
#EB798F #8FEB79 #798FEB
tetradic
#EB798F #C8EB79 #79EBD5 #9C79EB
square
#EB798F #C8EB79 #79EBD5 #9C79EB
split-complementary
#EB798F #79EB9C #79C8EB
monochromatic
#CB1E40 #E34462 #EB798F #F3AEBC #FBE4E8

Accessibility & contrast

On white

2.74
#EB798F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#EB798F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB798F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB798F#FFFFFF#000000##000000
##EB798F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8F8F
Deuteranopia (green-blind)
#ABA58D
Tritanopia (blue-blind)
#FD6D81
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #eb798f;
/* rgb */ color: rgb(235, 121, 143);
/* oklch */ color: oklch(71.1% 0.142 9.1);
Tailwind
colors: {
  custom: {
    50: '#f5a2af',
    500: '#eb798f',
    950: '#000000',
  },
}
SCSS
$custom: #eb798f;
$custom-light: #f5a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#eb798f",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 348.421,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71119,
    "c": 0.14163,
    "h": 9.1
  },
  "luminance": 0.3332
}

Semantic roles & 50–950 ramp

primary
#EB798F
secondary
#D0F0EA
accent
#D6B00F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EB798F

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

Preview Lab → · Contrast checker → · Palette generator →

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