#F04E8C#F04E8C

#F04E8C is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.4% C 0.203 H 0.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#F04E8C
RGBrgb(240, 78, 140)
HSLhsl(337, 84%, 62%)
HSVhsv(337, 68%, 94%)
CMYKcmyk(0%, 67.5%, 41.7%, 5.9%)
CIE-LABlab(57.92, 66.41, 1.00)
CIE-LCHlch(57.92, 66.42, 0.86°)
OKLaboklab(66.37% 0.2033 0.0034)
OKLCHoklch(66.37% 0.203 0.9)
XYZxyz(43.3963, 25.8728, 27.5145)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04E8C #4EF0B2
analogous
#F04EDD #F04E8C #F0614E
triadic
#F04E8C #8CF04E #4E8CF0
tetradic
#F04E8C #DDF04E #4EF0B2 #614EF0
square
#F04E8C #DDF04E #4EF0B2 #614EF0
split-complementary
#F04E8C #4EF061 #4EDDF0
monochromatic
#B40F4E #EB1667 #F04E8C #F586B1 #FABFD5

Accessibility & contrast

On white

3.40
#F04E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#F04E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04E8C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04E8C#FFFFFF#000000##000000
##F04E8C1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778E
Deuteranopia (green-blind)
#9B9788
Tritanopia (blue-blind)
#FF3967
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04e8c;
/* rgb */ color: rgb(240, 78, 140);
/* oklch */ color: oklch(66.4% 0.203 0.9);
Tailwind
colors: {
  custom: {
    50: '#fa8aad',
    500: '#f04e8c',
    950: '#000000',
  },
}
SCSS
$custom: #f04e8c;
$custom-light: #fa8aad;
$custom-dark: #000000;
JSON
{
  "hex": "#f04e8c",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 337.037,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66373,
    "c": 0.20335,
    "h": 0.9
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#F04E8C
secondary
#AFEAD4
accent
#E18D05
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #F04E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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