#F0879F#F0879F

#F0879F is a light, vivid red. Relative luminance 0.384; OKLCH L 74.3% C 0.130 H 6.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F0879F
RGBrgb(240, 135, 159)
HSLhsl(346, 78%, 74%)
HSVhsv(346, 44%, 94%)
CMYKcmyk(0%, 43.8%, 33.8%, 5.9%)
CIE-LABlab(68.29, 42.63, 5.10)
CIE-LCHlch(68.29, 42.93, 6.83°)
OKLaboklab(74.31% 0.1293 0.0138)
OKLCHoklch(74.31% 0.13 6.1)
XYZxyz(50.8593, 38.3607, 37.5199)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0879F #87F0D8
analogous
#F087D3 #F0879F #F0A387
triadic
#F0879F #9FF087 #879FF0
tetradic
#F0879F #D3F087 #87F0D8 #A387F0
square
#F0879F #D3F087 #87F0D8 #A387F0
split-complementary
#F0879F #87F0A3 #87D3F0
monochromatic
#E11C49 #E95173 #F0879F #F7BDCB #FCE4E9

Accessibility & contrast

On white

2.42
#F0879F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F0879F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0879F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0879F#FFFFFF#000000##000000
##F0879F1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#999AA0
Deuteranopia (green-blind)
#B3AE9D
Tritanopia (blue-blind)
#FF7E90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f0879f;
/* rgb */ color: rgb(240, 135, 159);
/* oklch */ color: oklch(74.3% 0.130 6.1);
Tailwind
colors: {
  custom: {
    50: '#f8acbb',
    500: '#f0879f',
    950: '#000000',
  },
}
SCSS
$custom: #f0879f;
$custom-light: #f8acbb;
$custom-dark: #000000;
JSON
{
  "hex": "#f0879f",
  "rgb": {
    "r": 240,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 346.286,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74314,
    "c": 0.13005,
    "h": 6.1
  },
  "luminance": 0.38356
}

Semantic roles & 50–950 ramp

primary
#F0879F
secondary
#D8F3ED
accent
#DAAB0B
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80

Preview Lab

Preview with #F0879F

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

Preview Lab → · Contrast checker → · Palette generator →

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