#FC798F#FC798F

#FC798F is a light, vivid red. Relative luminance 0.364; OKLCH L 73.4% C 0.160 H 11.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#FC798F
RGBrgb(252, 121, 143)
HSLhsl(350, 96%, 73%)
HSVhsv(350, 52%, 99%)
CMYKcmyk(0%, 52%, 43.3%, 1.2%)
CIE-LABlab(66.79, 51.92, 12.22)
CIE-LCHlch(66.79, 53.34, 13.25°)
OKLaboklab(73.39% 0.1573 0.0317)
OKLCHoklch(73.39% 0.16 11.4)
XYZxyz(51.9435, 36.3589, 30.2637)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC798F #79FCE6
analogous
#FC79D0 #FC798F #FCA479
triadic
#FC798F #8FFC79 #798FFC
tetradic
#FC798F #D0FC79 #79FCE6 #A479FC
square
#FC798F #D0FC79 #79FCE6 #A479FC
split-complementary
#FC798F #79FCA4 #79D0FC
monochromatic
#F5052E #FB3D5D #FC798F #FDB5C1 #FEE1E6

Accessibility & contrast

On white

2.54
#FC798F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#FC798F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC798F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC798F#FFFFFF#000000##000000
##FC798F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93928F
Deuteranopia (green-blind)
#B5AC8C
Tritanopia (blue-blind)
#FF6981
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #fc798f;
/* rgb */ color: rgb(252, 121, 143);
/* oklch */ color: oklch(73.4% 0.160 11.4);
Tailwind
colors: {
  custom: {
    50: '#ffa3af',
    500: '#fc798f',
    950: '#000000',
  },
}
SCSS
$custom: #fc798f;
$custom-light: #ffa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#fc798f",
  "rgb": {
    "r": 252,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 349.924,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.16048,
    "h": 11.4
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

primary
#FC798F
secondary
#D4F7F1
accent
#E6BF00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F

Preview Lab

Preview with #FC798F

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

Preview Lab → · Contrast checker → · Palette generator →

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