#F0417E#F0417E

#F0417E is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.8% C 0.214 H 4.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#F0417E
RGBrgb(240, 65, 126)
HSLhsl(339, 85%, 60%)
HSVhsv(339, 73%, 94%)
CMYKcmyk(0%, 72.9%, 47.5%, 5.9%)
CIE-LABlab(55.90, 69.67, 6.36)
CIE-LCHlch(55.90, 69.96, 5.22°)
OKLaboklab(64.76% 0.2131 0.017)
OKLCHoklch(64.76% 0.214 4.6)
XYZxyz(41.5949, 23.8178, 22.1416)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0417E #41F0B3
analogous
#F041D5 #F0417E #F05C41
triadic
#F0417E #7EF041 #417EF0
tetradic
#F0417E #D5F041 #41F0B3 #5C41F0
square
#F0417E #D5F041 #41F0B3 #5C41F0
split-complementary
#F0417E #41F05C #41D5F0
monochromatic
#A90D44 #E2125A #F0417E #F47AA5 #F9B2CB

Accessibility & contrast

On white

3.64
#F0417E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#F0417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0417E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0417E#FFFFFF#000000##000000
##F0417E1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707F
Deuteranopia (green-blind)
#99927A
Tritanopia (blue-blind)
#FF1C5B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f0417e;
/* rgb */ color: rgb(240, 65, 126);
/* oklch */ color: oklch(64.8% 0.214 4.6);
Tailwind
colors: {
  custom: {
    50: '#fb83a3',
    500: '#f0417e',
    950: '#000000',
  },
}
SCSS
$custom: #f0417e;
$custom-light: #fb83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0417e",
  "rgb": {
    "r": 240,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 339.086,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64763,
    "c": 0.21376,
    "h": 4.6
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#F0417E
secondary
#A5E8D1
accent
#FCB32C
background
#FFF8FA
surface
#FFF0F3
border
#D7CBCD
text
#190C0F
muted
#877D7F

Preview Lab

Preview with #F0417E

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

Preview Lab → · Contrast checker → · Palette generator →

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