#F04BC5#F04BC5

#F04BC5 is a light, highly saturated pink. Relative luminance 0.276; OKLCH L 68.2% C 0.235 H 340.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#F04BC5
RGBrgb(240, 75, 197)
HSLhsl(316, 85%, 62%)
HSVhsv(316, 69%, 94%)
CMYKcmyk(0%, 68.7%, 17.9%, 5.9%)
CIE-LABlab(59.52, 74.12, -29.64)
CIE-LCHlch(59.52, 79.82, 338.21°)
OKLaboklab(68.2% 0.2207 -0.0799)
OKLCHoklch(68.2% 0.235 340.1)
XYZxyz(48.5306, 27.5933, 55.5826)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04BC5 #4BF076
analogous
#C84BF0 #F04BC5 #F04B73
triadic
#F04BC5 #C5F04B #4BC5F0
tetradic
#F04BC5 #F0C84B #4BF076 #4B73F0
square
#F04BC5 #F0C84B #4BF076 #4B73F0
split-complementary
#F04BC5 #73F04B #4BF0C8
monochromatic
#B20F87 #EA14B2 #F04BC5 #F583D7 #F9BCE9

Accessibility & contrast

On white

3.22
#F04BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#F04BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04BC5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04BC5#FFFFFF#000000##000000
##F04BC51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#8A99C1
Tritanopia (blue-blind)
#FE5082
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #f04bc5;
/* rgb */ color: rgb(240, 75, 197);
/* oklch */ color: oklch(68.2% 0.235 340.1);
Tailwind
colors: {
  custom: {
    50: '#f98ad7',
    500: '#f04bc5',
    950: '#000000',
  },
}
SCSS
$custom: #f04bc5;
$custom-light: #f98ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04bc5",
  "rgb": {
    "r": 240,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 315.636,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.23473,
    "h": 340.1
  },
  "luminance": 0.27589
}

Semantic roles & 50–950 ramp

primary
#F04BC5
secondary
#ADEABD
accent
#E13E04
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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