#F04DCB#F04DCB

#F04DCB is a light, highly saturated pink. Relative luminance 0.281; OKLCH L 68.7% C 0.236 H 338.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#F04DCB
RGBrgb(240, 77, 203)
HSLhsl(314, 84%, 62%)
HSVhsv(314, 68%, 94%)
CMYKcmyk(0%, 67.9%, 15.4%, 5.9%)
CIE-LABlab(60.02, 74.24, -32.27)
CIE-LCHlch(60.02, 80.95, 336.50°)
OKLaboklab(68.65% 0.2195 -0.0874)
OKLCHoklch(68.65% 0.236 338.3)
XYZxyz(49.3696, 28.1493, 59.3216)
Luminance0.2814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DCB #4DF072
analogous
#C44DF0 #F04DCB #F04D79
triadic
#F04DCB #CBF04D #4DCBF0
tetradic
#F04DCB #F0C44D #4DF072 #4D79F0
square
#F04DCB #F0C44D #4DF072 #4D79F0
split-complementary
#F04DCB #79F04D #4DF0C4
monochromatic
#B30F8E #EB15BB #F04DCB #F585DB #FABEEC

Accessibility & contrast

On white

3.17
#F04DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#F04DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DCB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DCB#FFFFFF#000000##000000
##F04DCB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CF
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#FD5486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04dcb;
/* rgb */ color: rgb(240, 77, 203);
/* oklch */ color: oklch(68.7% 0.236 338.3);
Tailwind
colors: {
  custom: {
    50: '#f98bdb',
    500: '#f04dcb',
    950: '#000000',
  },
}
SCSS
$custom: #f04dcb;
$custom-light: #f98bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dcb",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 313.62,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6865,
    "c": 0.23623,
    "h": 338.3
  },
  "luminance": 0.28145
}

Semantic roles & 50–950 ramp

primary
#F04DCB
secondary
#AEEABC
accent
#E13705
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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