#FC817E#FC817E

#FC817E is a light, vivid red. Relative luminance 0.379; OKLCH L 74.2% C 0.151 H 22.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#FC817E
RGBrgb(252, 129, 126)
HSLhsl(1, 95%, 74%)
HSVhsv(1, 50%, 99%)
CMYKcmyk(0%, 48.8%, 50%, 1.2%)
CIE-LABlab(67.95, 46.46, 23.39)
CIE-LCHlch(67.95, 52.01, 26.72°)
OKLaboklab(74.15% 0.1388 0.0584)
OKLCHoklch(74.15% 0.151 22.8)
XYZxyz(51.7647, 37.9078, 24.3255)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC817E #7EF9FC
analogous
#FC7EBA #FC817E #FCC07E
triadic
#FC817E #7EFC81 #817EFC
tetradic
#FC817E #BAFC7E #7EF9FC #C07EFC
square
#FC817E #BAFC7E #7EF9FC #C07EFC
split-complementary
#FC817E #7EFCC0 #7EBAFC
monochromatic
#F90C06 #FB4742 #FC817E #FDBBBA #FEE2E1

Accessibility & contrast

On white

2.45
#FC817E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#FC817E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC817E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC817E#FFFFFF#000000##000000
##FC817E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967D
Deuteranopia (green-blind)
#BBAF7C
Tritanopia (blue-blind)
#FF6F81
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fc817e;
/* rgb */ color: rgb(252, 129, 126);
/* oklch */ color: oklch(74.2% 0.151 22.8);
Tailwind
colors: {
  custom: {
    50: '#ffa8a3',
    500: '#fc817e',
    950: '#000000',
  },
}
SCSS
$custom: #fc817e;
$custom-light: #ffa8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fc817e",
  "rgb": {
    "r": 252,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 1.429,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.15063,
    "h": 22.8
  },
  "luminance": 0.37902
}

Semantic roles & 50–950 ramp

primary
#FC817E
secondary
#D4F6F7
accent
#E0E600
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#19100F
muted
#877F7F

Preview Lab

Preview with #FC817E

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

Preview Lab → · Contrast checker → · Palette generator →

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