#F5717C#F5717C

#F5717C is a light, vivid red. Relative luminance 0.327; OKLCH L 70.9% C 0.162 H 17.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#F5717C
RGBrgb(245, 113, 124)
HSLhsl(355, 87%, 70%)
HSVhsv(355, 54%, 96%)
CMYKcmyk(0%, 53.9%, 49.4%, 3.9%)
CIE-LABlab(63.90, 51.54, 18.85)
CIE-LCHlch(63.90, 54.88, 20.09°)
OKLaboklab(70.87% 0.155 0.0476)
OKLCHoklch(70.87% 0.162 17.1)
XYZxyz(47.2029, 32.6833, 22.8876)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5717C #71F5EA
analogous
#F571BE #F5717C #F5A871
triadic
#F5717C #7CF571 #717CF5
tetradic
#F5717C #BEF571 #71F5EA #A871F5
square
#F5717C #BEF571 #71F5EA #A871F5
split-complementary
#F5717C #71F5A8 #71BEF5
monochromatic
#DC1021 #F13847 #F5717C #F9AAB1 #FDE2E5

Accessibility & contrast

On white

2.79
#F5717C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#F5717C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5717C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5717C#FFFFFF#000000##000000
##F5717C1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7C
Deuteranopia (green-blind)
#B0A579
Tritanopia (blue-blind)
#FF5E76
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f5717c;
/* rgb */ color: rgb(245, 113, 124);
/* oklch */ color: oklch(70.9% 0.162 17.1);
Tailwind
colors: {
  custom: {
    50: '#fd9ea1',
    500: '#f5717c',
    950: '#000000',
  },
}
SCSS
$custom: #f5717c;
$custom-light: #fd9ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5717c",
  "rgb": {
    "r": 245,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 355,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.16215,
    "h": 17.1
  },
  "luminance": 0.32678
}

Semantic roles & 50–950 ramp

primary
#F5717C
secondary
#CFF3F0
accent
#E3D102
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#190F0F
muted
#877E7E

Preview Lab

Preview with #F5717C

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

Preview Lab → · Contrast checker → · Palette generator →

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