#F0478E#F0478E

#F0478E is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.8% C 0.212 H 359.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#F0478E
RGBrgb(240, 71, 142)
HSLhsl(335, 85%, 61%)
HSVhsv(335, 70%, 94%)
CMYKcmyk(0%, 70.4%, 40.8%, 5.9%)
CIE-LABlab(57.07, 69.12, -1.42)
CIE-LCHlch(57.07, 69.13, 358.82°)
OKLaboklab(65.76% 0.212 -0.0029)
OKLCHoklch(65.76% 0.212 359.2)
XYZxyz(43.0740, 24.9901, 28.1412)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0478E #47F0A9
analogous
#F047E2 #F0478E #F05447
triadic
#F0478E #8EF047 #478EF0
tetradic
#F0478E #E2F047 #47F0A9 #5447F0
square
#F0478E #E2F047 #47F0A9 #5447F0
split-complementary
#F0478E #47F054 #47E2F0
monochromatic
#AE0E52 #E7136C #F0478E #F580B1 #F9B8D4

Accessibility & contrast

On white

3.50
#F0478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#F0478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0478E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0478E#FFFFFF#000000##000000
##F0478E1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7490
Deuteranopia (green-blind)
#98958A
Tritanopia (blue-blind)
#FF3165
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #f0478e;
/* rgb */ color: rgb(240, 71, 142);
/* oklch */ color: oklch(65.8% 0.212 359.2);
Tailwind
colors: {
  custom: {
    50: '#fa86ae',
    500: '#f0478e',
    950: '#000000',
  },
}
SCSS
$custom: #f0478e;
$custom-light: #fa86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0478e",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 334.793,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.21198,
    "h": 359.2
  },
  "luminance": 0.24985
}

Semantic roles & 50–950 ramp

primary
#F0478E
secondary
#AAE9CE
accent
#E18404
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #F0478E

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

Preview Lab → · Contrast checker → · Palette generator →

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