#F04F8B#F04F8B

#F04F8B is a light, highly saturated pink. Relative luminance 0.260; OKLCH L 66.4% C 0.202 H 1.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#F04F8B
RGBrgb(240, 79, 139)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 67.1%, 42.1%, 5.9%)
CIE-LABlab(58.02, 65.94, 1.74)
CIE-LCHlch(58.02, 65.96, 1.51°)
OKLaboklab(66.44% 0.2018 0.0053)
OKLCHoklch(66.44% 0.202 1.5)
XYZxyz(43.3945, 25.9866, 27.1518)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F8B #4FF0B4
analogous
#F04FDB #F04F8B #F0644F
triadic
#F04F8B #8BF04F #4F8BF0
tetradic
#F04F8B #DBF04F #4FF0B4 #644FF0
square
#F04F8B #DBF04F #4FF0B4 #644FF0
split-complementary
#F04F8B #4FF064 #4FDBF0
monochromatic
#B50F4D #EB1766 #F04F8B #F587B0 #FAC0D5

Accessibility & contrast

On white

3.39
#F04F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#F04F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F8B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F8B#FFFFFF#000000##000000
##F04F8B1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#9B9787
Tritanopia (blue-blind)
#FF3A67
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f8b;
/* rgb */ color: rgb(240, 79, 139);
/* oklch */ color: oklch(66.4% 0.202 1.5);
Tailwind
colors: {
  custom: {
    50: '#fa8aac',
    500: '#f04f8b',
    950: '#000000',
  },
}
SCSS
$custom: #f04f8b;
$custom-light: #fa8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f8b",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 337.64,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.20187,
    "h": 1.5
  },
  "luminance": 0.25981
}

Semantic roles & 50–950 ramp

primary
#F04F8B
secondary
#B0EBD5
accent
#E18F05
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #F04F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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