#F04CBC#F04CBC

#F04CBC is a light, highly saturated pink. Relative luminance 0.273; OKLCH L 67.9% C 0.228 H 343.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#F04CBC
RGBrgb(240, 76, 188)
HSLhsl(319, 85%, 62%)
HSVhsv(319, 68%, 94%)
CMYKcmyk(0%, 68.3%, 21.7%, 5.9%)
CIE-LABlab(59.28, 72.58, -24.85)
CIE-LCHlch(59.28, 76.72, 341.10°)
OKLaboklab(67.91% 0.2181 -0.0665)
OKLCHoklch(67.91% 0.228 343.1)
XYZxyz(47.5983, 27.3297, 50.3356)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CBC #4CF080
analogous
#D24CF0 #F04CBC #F04C6A
triadic
#F04CBC #BCF04C #4CBCF0
tetradic
#F04CBC #F0D24C #4CF080 #4C6AF0
square
#F04CBC #F0D24C #4CF080 #4C6AF0
split-complementary
#F04CBC #6AF04C #4CF0D2
monochromatic
#B30F7F #EB14A7 #F04CBC #F584D1 #F9BDE6

Accessibility & contrast

On white

3.25
#F04CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#F04CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CBC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CBC#FFFFFF#000000##000000
##F04CBC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#8D99B8
Tritanopia (blue-blind)
#FF4C7E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #f04cbc;
/* rgb */ color: rgb(240, 76, 188);
/* oklch */ color: oklch(67.9% 0.228 343.1);
Tailwind
colors: {
  custom: {
    50: '#f98ad0',
    500: '#f04cbc',
    950: '#000000',
  },
}
SCSS
$custom: #f04cbc;
$custom-light: #f98ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#f04cbc",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 319.024,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67905,
    "c": 0.22802,
    "h": 343.1
  },
  "luminance": 0.27325
}

Semantic roles & 50–950 ramp

primary
#F04CBC
secondary
#AEEAC1
accent
#E14A04
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #F04CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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