#FE787F#FE787F

#FE787F is a light, vivid red. Relative luminance 0.360; OKLCH L 73.2% C 0.164 H 18.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#FE787F
RGBrgb(254, 120, 127)
HSLhsl(357, 99%, 73%)
HSVhsv(357, 53%, 100%)
CMYKcmyk(0%, 52.8%, 50%, 0.4%)
CIE-LABlab(66.55, 51.60, 20.98)
CIE-LCHlch(66.55, 55.70, 22.13°)
OKLaboklab(73.15% 0.1548 0.0527)
OKLCHoklch(73.15% 0.164 18.8)
XYZxyz(51.4241, 36.0419, 24.3232)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE787F #78FEF7
analogous
#FE78C2 #FE787F #FEB478
triadic
#FE787F #7FFE78 #787FFE
tetradic
#FE787F #C2FE78 #78FEF7 #B478FE
square
#FE787F #C2FE78 #78FEF7 #B478FE
split-complementary
#FE787F #78FEB4 #78C2FE
monochromatic
#FA020F #FE3B45 #FE787F #FEB5B9 #FFE1E2

Accessibility & contrast

On white

2.56
#FE787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#FE787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE787F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE787F#FFFFFF#000000##000000
##FE787F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96917E
Deuteranopia (green-blind)
#B8AC7C
Tritanopia (blue-blind)
#FF647B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #fe787f;
/* rgb */ color: rgb(254, 120, 127);
/* oklch */ color: oklch(73.2% 0.164 18.8);
Tailwind
colors: {
  custom: {
    50: '#ffa2a4',
    500: '#fe787f',
    950: '#000000',
  },
}
SCSS
$custom: #fe787f;
$custom-light: #ffa2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fe787f",
  "rgb": {
    "r": 254,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.866,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73152,
    "c": 0.16353,
    "h": 18.8
  },
  "luminance": 0.36036
}

Semantic roles & 50–950 ramp

primary
#FE787F
secondary
#D4F7F5
accent
#E6DA00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F

Preview Lab

Preview with #FE787F

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

Preview Lab → · Contrast checker → · Palette generator →

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