#F0417C#F0417C

#F0417C is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.7% C 0.213 H 5.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#F0417C
RGBrgb(240, 65, 124)
HSLhsl(340, 85%, 60%)
HSVhsv(340, 73%, 94%)
CMYKcmyk(0%, 72.9%, 48.3%, 5.9%)
CIE-LABlab(55.85, 69.51, 7.48)
CIE-LCHlch(55.85, 69.91, 6.14°)
OKLaboklab(64.71% 0.2124 0.0197)
OKLCHoklch(64.71% 0.213 5.3)
XYZxyz(41.4671, 23.7667, 21.4687)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0417C #41F0B5
analogous
#F041D4 #F0417C #F05D41
triadic
#F0417C #7CF041 #417CF0
tetradic
#F0417C #D4F041 #41F0B5 #5D41F0
square
#F0417C #D4F041 #41F0B5 #5D41F0
split-complementary
#F0417C #41F05D #41D4F0
monochromatic
#A90D42 #E21258 #F0417C #F47AA3 #F9B2CA

Accessibility & contrast

On white

3.65
#F0417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#F0417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0417C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0417C#FFFFFF#000000##000000
##F0417C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707D
Deuteranopia (green-blind)
#999278
Tritanopia (blue-blind)
#FF1A5A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f0417c;
/* rgb */ color: rgb(240, 65, 124);
/* oklch */ color: oklch(64.7% 0.213 5.3);
Tailwind
colors: {
  custom: {
    50: '#fb83a1',
    500: '#f0417c',
    950: '#000000',
  },
}
SCSS
$custom: #f0417c;
$custom-light: #fb83a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0417c",
  "rgb": {
    "r": 240,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 339.771,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.21331,
    "h": 5.3
  },
  "luminance": 0.23761
}

Semantic roles & 50–950 ramp

primary
#F0417C
secondary
#A5E8D1
accent
#FCB62C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F0417C

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

Preview Lab → · Contrast checker → · Palette generator →

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