#F0417D#F0417D

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

Color values

HEX#F0417D
RGBrgb(240, 65, 125)
HSLhsl(339, 85%, 60%)
HSVhsv(339, 73%, 94%)
CMYKcmyk(0%, 72.9%, 47.9%, 5.9%)
CIE-LABlab(55.88, 69.59, 6.92)
CIE-LCHlch(55.88, 69.93, 5.68°)
OKLaboklab(64.74% 0.2128 0.0184)
OKLCHoklch(64.74% 0.214 4.9)
XYZxyz(41.5307, 23.7921, 21.8035)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0417D #41F0B4
analogous
#F041D4 #F0417D #F05D41
triadic
#F0417D #7DF041 #417DF0
tetradic
#F0417D #D4F041 #41F0B4 #5D41F0
square
#F0417D #D4F041 #41F0B4 #5D41F0
split-complementary
#F0417D #41F05D #41D4F0
monochromatic
#A90D43 #E21259 #F0417D #F47AA4 #F9B2CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0417D#FFFFFF#000000##000000
##F0417D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707E
Deuteranopia (green-blind)
#999279
Tritanopia (blue-blind)
#FF1B5A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f0417d;
/* rgb */ color: rgb(240, 65, 125);
/* oklch */ color: oklch(64.7% 0.214 4.9);
Tailwind
colors: {
  custom: {
    50: '#fb83a2',
    500: '#f0417d',
    950: '#000000',
  },
}
SCSS
$custom: #f0417d;
$custom-light: #fb83a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0417d",
  "rgb": {
    "r": 240,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 339.429,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.21354,
    "h": 4.9
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#F0417D
secondary
#A5E8D1
accent
#FCB42C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0F
muted
#877D7E

Preview Lab

Preview with #F0417D

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

Preview Lab → · Contrast checker → · Palette generator →

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