#F05078#F05078

#F05078 is a light, vivid red. Relative luminance 0.256; OKLCH L 66.0% C 0.197 H 9.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#F05078
RGBrgb(240, 80, 120)
HSLhsl(345, 84%, 63%)
HSVhsv(345, 67%, 94%)
CMYKcmyk(0%, 66.7%, 50%, 5.9%)
CIE-LABlab(57.68, 63.85, 12.42)
CIE-LCHlch(57.68, 65.05, 11.01°)
OKLaboklab(66.03% 0.1939 0.0319)
OKLCHoklch(66.03% 0.197 9.3)
XYZxyz(42.1976, 25.6242, 20.4895)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05078 #50F0C8
analogous
#F050C8 #F05078 #F07850
triadic
#F05078 #78F050 #5078F0
tetradic
#F05078 #C8F050 #50F0C8 #7850F0
square
#F05078 #C8F050 #50F0C8 #7850F0
split-complementary
#F05078 #50F078 #50C8F0
monochromatic
#B61039 #EB184D #F05078 #F588A3 #FAC1CF

Accessibility & contrast

On white

3.43
#F05078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#F05078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05078
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05078#FFFFFF#000000##000000
##F050781.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#757679
Deuteranopia (green-blind)
#9F9674
Tritanopia (blue-blind)
#FF3460
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f05078;
/* rgb */ color: rgb(240, 80, 120);
/* oklch */ color: oklch(66.0% 0.197 9.3);
Tailwind
colors: {
  custom: {
    50: '#fb8a9e',
    500: '#f05078',
    950: '#000000',
  },
}
SCSS
$custom: #f05078;
$custom-light: #fb8a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f05078",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 345,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.19653,
    "h": 9.3
  },
  "luminance": 0.25619
}

Semantic roles & 50–950 ramp

primary
#F05078
secondary
#B1EBDC
accent
#E1AA05
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0E
muted
#877D7E

Preview Lab

Preview with #F05078

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

Preview Lab → · Contrast checker → · Palette generator →

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