#F04BCC#F04BCC

#F04BCC is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.5% C 0.239 H 337.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#F04BCC
RGBrgb(240, 75, 204)
HSLhsl(313, 85%, 62%)
HSVhsv(313, 69%, 94%)
CMYKcmyk(0%, 68.7%, 15%, 5.9%)
CIE-LABlab(59.82, 75.07, -33.16)
CIE-LCHlch(59.82, 82.07, 336.17°)
OKLaboklab(68.52% 0.2217 -0.0899)
OKLCHoklch(68.52% 0.239 337.9)
XYZxyz(49.3513, 27.9216, 59.9053)
Luminance0.2792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04BCC #4BF06F
analogous
#C24BF0 #F04BCC #F04B7A
triadic
#F04BCC #CCF04B #4BCCF0
tetradic
#F04BCC #F0C24B #4BF06F #4B7AF0
square
#F04BCC #F0C24B #4BF06F #4B7AF0
split-complementary
#F04BCC #7AF04B #4BF0C2
monochromatic
#B20F8E #EA14BB #F04BCC #F583DC #F9BCEC

Accessibility & contrast

On white

3.19
#F04BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#F04BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04BCC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04BCC#FFFFFF#000000##000000
##F04BCC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#FD5385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04bcc;
/* rgb */ color: rgb(240, 75, 204);
/* oklch */ color: oklch(68.5% 0.239 337.9);
Tailwind
colors: {
  custom: {
    50: '#f98adc',
    500: '#f04bcc',
    950: '#000000',
  },
}
SCSS
$custom: #f04bcc;
$custom-light: #f98adc;
$custom-dark: #000000;
JSON
{
  "hex": "#f04bcc",
  "rgb": {
    "r": 240,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 313.091,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.23924,
    "h": 337.9
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#F04BCC
secondary
#ADEABA
accent
#E13504
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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