#F04F82#F04F82

#F04F82 is a light, vivid pink. Relative luminance 0.257; OKLCH L 66.2% C 0.200 H 5.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#F04F82
RGBrgb(240, 79, 130)
HSLhsl(341, 84%, 63%)
HSVhsv(341, 67%, 94%)
CMYKcmyk(0%, 67.1%, 45.8%, 5.9%)
CIE-LABlab(57.78, 65.10, 6.69)
CIE-LCHlch(57.78, 65.44, 5.86°)
OKLaboklab(66.19% 0.1987 0.0178)
OKLCHoklch(66.19% 0.2 5.1)
XYZxyz(42.7638, 25.7344, 23.8301)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F82 #4FF0BD
analogous
#F04FD2 #F04F82 #F06D4F
triadic
#F04F82 #82F04F #4F82F0
tetradic
#F04F82 #D2F04F #4FF0BD #6D4FF0
square
#F04F82 #D2F04F #4FF0BD #6D4FF0
split-complementary
#F04F82 #4FF06D #4FD2F0
monochromatic
#B50F44 #EB175A #F04F82 #F587AA #FAC0D2

Accessibility & contrast

On white

3.42
#F04F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#F04F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F82
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F82#FFFFFF#000000##000000
##F04F821.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#727783
Deuteranopia (green-blind)
#9D967E
Tritanopia (blue-blind)
#FF3663
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f82;
/* rgb */ color: rgb(240, 79, 130);
/* oklch */ color: oklch(66.2% 0.200 5.1);
Tailwind
colors: {
  custom: {
    50: '#fb8aa6',
    500: '#f04f82',
    950: '#000000',
  },
}
SCSS
$custom: #f04f82;
$custom-light: #fb8aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f82",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 340.994,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66187,
    "c": 0.19953,
    "h": 5.1
  },
  "luminance": 0.25729
}

Semantic roles & 50–950 ramp

primary
#F04F82
secondary
#B0EBD8
accent
#E19B05
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D0F
muted
#867D7F

Preview Lab

Preview with #F04F82

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

Preview Lab → · Contrast checker → · Palette generator →

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