#F04BC7#F04BC7

#F04BC7 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.3% C 0.236 H 339.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#F04BC7
RGBrgb(240, 75, 199)
HSLhsl(315, 85%, 62%)
HSVhsv(315, 69%, 94%)
CMYKcmyk(0%, 68.7%, 17.1%, 5.9%)
CIE-LABlab(59.60, 74.39, -30.65)
CIE-LCHlch(59.60, 80.45, 337.61°)
OKLaboklab(68.29% 0.221 -0.0828)
OKLCHoklch(68.29% 0.236 339.5)
XYZxyz(48.7612, 27.6855, 56.7976)
Luminance0.2768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04BC7 #4BF074
analogous
#C64BF0 #F04BC7 #F04B75
triadic
#F04BC7 #C7F04B #4BC7F0
tetradic
#F04BC7 #F0C64B #4BF074 #4B75F0
square
#F04BC7 #F0C64B #4BF074 #4B75F0
split-complementary
#F04BC7 #75F04B #4BF0C6
monochromatic
#B20F89 #EA14B5 #F04BC7 #F583D9 #F9BCEA

Accessibility & contrast

On white

3.21
#F04BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#F04BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04BC7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04BC7#FFFFFF#000000##000000
##F04BC71.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#8999C3
Tritanopia (blue-blind)
#FD5183
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04bc7;
/* rgb */ color: rgb(240, 75, 199);
/* oklch */ color: oklch(68.3% 0.236 339.5);
Tailwind
colors: {
  custom: {
    50: '#f98ad8',
    500: '#f04bc7',
    950: '#000000',
  },
}
SCSS
$custom: #f04bc7;
$custom-light: #f98ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#f04bc7",
  "rgb": {
    "r": 240,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 314.909,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.236,
    "h": 339.5
  },
  "luminance": 0.27681
}

Semantic roles & 50–950 ramp

primary
#F04BC7
secondary
#ADEABC
accent
#E13B04
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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