#FC817C#FC817C

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

Color values

HEX#FC817C
RGBrgb(252, 129, 124)
HSLhsl(2, 96%, 74%)
HSVhsv(2, 51%, 99%)
CMYKcmyk(0%, 48.8%, 50.8%, 1.2%)
CIE-LABlab(67.91, 46.28, 24.45)
CIE-LCHlch(67.91, 52.35, 27.85°)
OKLaboklab(74.11% 0.1381 0.0609)
OKLCHoklch(74.11% 0.151 23.8)
XYZxyz(51.6369, 37.8567, 23.6526)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC817C #7CF7FC
analogous
#FC7CB7 #FC817C #FCC17C
triadic
#FC817C #7CFC81 #817CFC
tetradic
#FC817C #B7FC7C #7CF7FC #C17CFC
square
#FC817C #B7FC7C #7CF7FC #C17CFC
split-complementary
#FC817C #7CFCC1 #7CB7FC
monochromatic
#F80F06 #FB4740 #FC817C #FDBBB8 #FEE2E1

Accessibility & contrast

On white

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

On black

8.57
#FC817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC817C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC817C#FFFFFF#000000##000000
##FC817C1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967B
Deuteranopia (green-blind)
#BCAF7A
Tritanopia (blue-blind)
#FF6F80
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fc817c;
/* rgb */ color: rgb(252, 129, 124);
/* oklch */ color: oklch(74.1% 0.151 23.8);
Tailwind
colors: {
  custom: {
    50: '#ffa8a2',
    500: '#fc817c',
    950: '#000000',
  },
}
SCSS
$custom: #fc817c;
$custom-light: #ffa8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc817c",
  "rgb": {
    "r": 252,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 2.344,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.15089,
    "h": 23.8
  },
  "luminance": 0.37851
}

Semantic roles & 50–950 ramp

primary
#FC817C
secondary
#D4F5F7
accent
#DDE600
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#19100F
muted
#877F7E

Preview Lab

Preview with #FC817C

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

Preview Lab → · Contrast checker → · Palette generator →

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