#F04082#F04082

#F04082 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.8% C 0.216 H 2.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#F04082
RGBrgb(240, 64, 130)
HSLhsl(338, 85%, 60%)
HSVhsv(338, 73%, 94%)
CMYKcmyk(0%, 73.3%, 45.8%, 5.9%)
CIE-LABlab(55.90, 70.34, 3.98)
CIE-LCHlch(55.90, 70.45, 3.23°)
OKLaboklab(64.79% 0.2155 0.011)
OKLCHoklch(64.79% 0.216 2.9)
XYZxyz(41.8012, 23.8093, 23.5092)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04082 #40F0AE
analogous
#F040DA #F04082 #F05640
triadic
#F04082 #82F040 #4082F0
tetradic
#F04082 #DAF040 #40F0AE #5640F0
square
#F04082 #DAF040 #40F0AE #5640F0
split-complementary
#F04082 #40F056 #40DAF0
monochromatic
#A80D47 #E1125F #F04082 #F479A7 #F9B1CC

Accessibility & contrast

On white

3.65
#F04082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#F04082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04082
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04082#FFFFFF#000000##000000
##F040821.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697084
Deuteranopia (green-blind)
#98927E
Tritanopia (blue-blind)
#FF1D5C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f04082;
/* rgb */ color: rgb(240, 64, 130);
/* oklch */ color: oklch(64.8% 0.216 2.9);
Tailwind
colors: {
  custom: {
    50: '#fb83a6',
    500: '#f04082',
    950: '#000000',
  },
}
SCSS
$custom: #f04082;
$custom-light: #fb83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04082",
  "rgb": {
    "r": 240,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 337.5,
    "s": 85.437,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.21576,
    "h": 2.9
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#F04082
secondary
#A4E8CE
accent
#FCAE2C
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#190C0F
muted
#877D7F

Preview Lab

Preview with #F04082

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

Preview Lab → · Contrast checker → · Palette generator →

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