#F0478F#F0478F

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

Color values

HEX#F0478F
RGBrgb(240, 71, 143)
HSLhsl(334, 85%, 61%)
HSVhsv(334, 70%, 94%)
CMYKcmyk(0%, 70.4%, 40.4%, 5.9%)
CIE-LABlab(57.10, 69.22, -1.97)
CIE-LCHlch(57.10, 69.24, 358.37°)
OKLaboklab(65.8% 0.2123 -0.0043)
OKLCHoklch(65.8% 0.212 358.8)
XYZxyz(43.1494, 25.0203, 28.5384)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0478F #47F0A8
analogous
#F047E3 #F0478F #F05347
triadic
#F0478F #8FF047 #478FF0
tetradic
#F0478F #E3F047 #47F0A8 #5347F0
square
#F0478F #E3F047 #47F0A8 #5347F0
split-complementary
#F0478F #47F053 #47E3F0
monochromatic
#AE0E52 #E7136D #F0478F #F580B1 #F9B8D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0478F#FFFFFF#000000##000000
##F0478F1.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)
#6A7591
Deuteranopia (green-blind)
#97958B
Tritanopia (blue-blind)
#FF3165
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #f0478f;
/* rgb */ color: rgb(240, 71, 143);
/* oklch */ color: oklch(65.8% 0.212 358.8);
Tailwind
colors: {
  custom: {
    50: '#fa87af',
    500: '#f0478f',
    950: '#000000',
  },
}
SCSS
$custom: #f0478f;
$custom-light: #fa87af;
$custom-dark: #000000;
JSON
{
  "hex": "#f0478f",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 334.438,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65795,
    "c": 0.21232,
    "h": 358.8
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0478F

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

Preview Lab → · Contrast checker → · Palette generator →

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