#F04D8B#F04D8B

#F04D8B is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.2% C 0.204 H 1.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#F04D8B
RGBrgb(240, 77, 139)
HSLhsl(337, 84%, 62%)
HSVhsv(337, 68%, 94%)
CMYKcmyk(0%, 67.9%, 42.1%, 5.9%)
CIE-LABlab(57.75, 66.68, 1.35)
CIE-LCHlch(57.75, 66.70, 1.16°)
OKLaboklab(66.24% 0.2042 0.0043)
OKLCHoklch(66.24% 0.204 1.2)
XYZxyz(43.2524, 25.7025, 27.1045)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04D8B #4DF0B2
analogous
#F04DDC #F04D8B #F0614D
triadic
#F04D8B #8BF04D #4D8BF0
tetradic
#F04D8B #DCF04D #4DF0B2 #614DF0
square
#F04D8B #DCF04D #4DF0B2 #614DF0
split-complementary
#F04D8B #4DF061 #4DDCF0
monochromatic
#B30F4E #EB1566 #F04D8B #F585B0 #FABED5

Accessibility & contrast

On white

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

On black

6.14
#F04D8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04D8B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04D8B#FFFFFF#000000##000000
##F04D8B1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778D
Deuteranopia (green-blind)
#9A9687
Tritanopia (blue-blind)
#FF3766
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04d8b;
/* rgb */ color: rgb(240, 77, 139);
/* oklch */ color: oklch(66.2% 0.204 1.2);
Tailwind
colors: {
  custom: {
    50: '#fa89ac',
    500: '#f04d8b',
    950: '#000000',
  },
}
SCSS
$custom: #f04d8b;
$custom-light: #fa89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f04d8b",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 337.178,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.20421,
    "h": 1.2
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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