#F0478D#F0478D

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

Color values

HEX#F0478D
RGBrgb(240, 71, 141)
HSLhsl(335, 85%, 61%)
HSVhsv(335, 70%, 94%)
CMYKcmyk(0%, 70.4%, 41.3%, 5.9%)
CIE-LABlab(57.04, 69.02, -0.87)
CIE-LCHlch(57.04, 69.03, 359.27°)
OKLaboklab(65.73% 0.2117 -0.0015)
OKLCHoklch(65.73% 0.212 359.6)
XYZxyz(42.9992, 24.9602, 27.7476)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0478D #47F0AA
analogous
#F047E1 #F0478D #F05547
triadic
#F0478D #8DF047 #478DF0
tetradic
#F0478D #E1F047 #47F0AA #5547F0
square
#F0478D #E1F047 #47F0AA #5547F0
split-complementary
#F0478D #47F055 #47E1F0
monochromatic
#AE0E51 #E7136B #F0478D #F580B0 #F9B8D3

Accessibility & contrast

On white

3.51
#F0478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#F0478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0478D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0478D#FFFFFF#000000##000000
##F0478D1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A748F
Deuteranopia (green-blind)
#989589
Tritanopia (blue-blind)
#FF3064
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #f0478d;
/* rgb */ color: rgb(240, 71, 141);
/* oklch */ color: oklch(65.7% 0.212 359.6);
Tailwind
colors: {
  custom: {
    50: '#fa86ae',
    500: '#f0478d',
    950: '#000000',
  },
}
SCSS
$custom: #f0478d;
$custom-light: #fa86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0478d",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 335.148,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65733,
    "c": 0.21166,
    "h": 359.6
  },
  "luminance": 0.24955
}

Semantic roles & 50–950 ramp

primary
#F0478D
secondary
#AAE9CF
accent
#E18604
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #F0478D

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

Preview Lab → · Contrast checker → · Palette generator →

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