#EB879F#EB879F

#EB879F is a light, vivid red. Relative luminance 0.375; OKLCH L 73.7% C 0.124 H 5.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#EB879F
RGBrgb(235, 135, 159)
HSLhsl(346, 71%, 73%)
HSVhsv(346, 43%, 92%)
CMYKcmyk(0%, 42.6%, 32.3%, 7.8%)
CIE-LABlab(67.65, 40.87, 4.10)
CIE-LCHlch(67.65, 41.07, 5.73°)
OKLaboklab(73.7% 0.1239 0.0112)
OKLCHoklch(73.7% 0.124 5.2)
XYZxyz(49.1849, 37.4973, 37.4414)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB879F #87EBD3
analogous
#EB87D1 #EB879F #EBA187
triadic
#EB879F #9FEB87 #879FEB
tetradic
#EB879F #D1EB87 #87EBD3 #A187EB
square
#EB879F #D1EB87 #87EBD3 #A187EB
split-complementary
#EB879F #87EBA1 #87D1EB
monochromatic
#D4234E #E25375 #EB879F #F4BBC9 #FBE5EA

Accessibility & contrast

On white

2.47
#EB879F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#EB879F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB879F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB879F#FFFFFF#000000##000000
##EB879F1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9799A0
Deuteranopia (green-blind)
#B0AC9D
Tritanopia (blue-blind)
#FB7F90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb879f;
/* rgb */ color: rgb(235, 135, 159);
/* oklch */ color: oklch(73.7% 0.124 5.2);
Tailwind
colors: {
  custom: {
    50: '#f4acbb',
    500: '#eb879f',
    950: '#000000',
  },
}
SCSS
$custom: #eb879f;
$custom-light: #f4acbb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb879f",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 345.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.12444,
    "h": 5.2
  },
  "luminance": 0.37493
}

Semantic roles & 50–950 ramp

primary
#EB879F
secondary
#D9F2EC
accent
#D3A512
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EB879F

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

Preview Lab → · Contrast checker → · Palette generator →

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