#F0417B#F0417B

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

Color values

HEX#F0417B
RGBrgb(240, 65, 123)
HSLhsl(340, 85%, 60%)
HSVhsv(340, 73%, 94%)
CMYKcmyk(0%, 72.9%, 48.7%, 5.9%)
CIE-LABlab(55.83, 69.42, 8.04)
CIE-LCHlch(55.83, 69.89, 6.60°)
OKLaboklab(64.68% 0.2121 0.0211)
OKLCHoklch(64.68% 0.213 5.7)
XYZxyz(41.4042, 23.7415, 21.1374)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0417B #41F0B6
analogous
#F041D3 #F0417B #F05E41
triadic
#F0417B #7BF041 #417BF0
tetradic
#F0417B #D3F041 #41F0B6 #5E41F0
square
#F0417B #D3F041 #41F0B6 #5E41F0
split-complementary
#F0417B #41F05E #41D3F0
monochromatic
#A90D41 #E21257 #F0417B #F47AA2 #F9B2CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0417B#FFFFFF#000000##000000
##F0417B1.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)
#6B707C
Deuteranopia (green-blind)
#999277
Tritanopia (blue-blind)
#FF1A59
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f0417b;
/* rgb */ color: rgb(240, 65, 123);
/* oklch */ color: oklch(64.7% 0.213 5.7);
Tailwind
colors: {
  custom: {
    50: '#fb83a0',
    500: '#f0417b',
    950: '#000000',
  },
}
SCSS
$custom: #f0417b;
$custom-light: #fb83a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0417b",
  "rgb": {
    "r": 240,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 340.114,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.2131,
    "h": 5.7
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#F0417B
secondary
#A5E8D2
accent
#FCB72C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F0417B

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

Preview Lab → · Contrast checker → · Palette generator →

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