#F5787E#F5787E

#F5787E is a light, vivid red. Relative luminance 0.344; OKLCH L 71.9% C 0.153 H 18.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#F5787E
RGBrgb(245, 120, 126)
HSLhsl(357, 86%, 72%)
HSVhsv(357, 51%, 96%)
CMYKcmyk(0%, 51%, 48.6%, 3.9%)
CIE-LABlab(65.25, 48.37, 19.55)
CIE-LCHlch(65.25, 52.17, 22.01°)
OKLaboklab(71.9% 0.1453 0.0493)
OKLCHoklch(71.9% 0.153 18.7)
XYZxyz(48.1420, 34.3570, 23.8309)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5787E #78F5EF
analogous
#F578BD #F5787E #F5B178
triadic
#F5787E #7EF578 #787EF5
tetradic
#F5787E #BDF578 #78F5EF #B178F5
square
#F5787E #BDF578 #78F5EF #B178F5
split-complementary
#F5787E #78F5B1 #78BDF5
monochromatic
#E2111B #F13F48 #F5787E #F9B1B4 #FDE3E4

Accessibility & contrast

On white

2.67
#F5787E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#F5787E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5787E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5787E#FFFFFF#000000##000000
##F5787E1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7E
Deuteranopia (green-blind)
#B3A87B
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f5787e;
/* rgb */ color: rgb(245, 120, 126);
/* oklch */ color: oklch(71.9% 0.153 18.7);
Tailwind
colors: {
  custom: {
    50: '#fda2a3',
    500: '#f5787e',
    950: '#000000',
  },
}
SCSS
$custom: #f5787e;
$custom-light: #fda2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5787e",
  "rgb": {
    "r": 245,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 357.12,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.15345,
    "h": 18.7
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#F5787E
secondary
#D4F4F3
accent
#E3D803
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #F5787E

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

Preview Lab → · Contrast checker → · Palette generator →

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