#F04BCB#F04BCB

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

Color values

HEX#F04BCB
RGBrgb(240, 75, 203)
HSLhsl(313, 85%, 62%)
HSVhsv(313, 69%, 94%)
CMYKcmyk(0%, 68.7%, 15.4%, 5.9%)
CIE-LABlab(59.77, 74.94, -32.66)
CIE-LCHlch(59.77, 81.74, 336.45°)
OKLaboklab(68.47% 0.2216 -0.0885)
OKLCHoklch(68.47% 0.239 338.2)
XYZxyz(49.2318, 27.8737, 59.2757)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04BCB #4BF070
analogous
#C34BF0 #F04BCB #F04B78
triadic
#F04BCB #CBF04B #4BCBF0
tetradic
#F04BCB #F0C34B #4BF070 #4B78F0
square
#F04BCB #F0C34B #4BF070 #4B78F0
split-complementary
#F04BCB #78F04B #4BF0C3
monochromatic
#B20F8D #EA14BA #F04BCB #F583DB #F9BCEC

Accessibility & contrast

On white

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

On black

6.57
#F04BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04BCB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04BCB#FFFFFF#000000##000000
##F04BCB1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#8899C7
Tritanopia (blue-blind)
#FD5285
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04bcb;
/* rgb */ color: rgb(240, 75, 203);
/* oklch */ color: oklch(68.5% 0.239 338.2);
Tailwind
colors: {
  custom: {
    50: '#f98adb',
    500: '#f04bcb',
    950: '#000000',
  },
}
SCSS
$custom: #f04bcb;
$custom-light: #f98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#f04bcb",
  "rgb": {
    "r": 240,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 313.455,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68469,
    "c": 0.23859,
    "h": 338.2
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#F04BCB
secondary
#ADEABB
accent
#E13604
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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